From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Call library function node only works with new VI

Interesting. Especially since I was using 8.2. Maybe it's an 8.5 issue. I don't have 8.5 so I can't test it under 8.5.
0 Kudos
Message 11 of 12
(399 Views)
Hi M. Shahini,

I was unable to run your DLL (errors that had to do with dependencies, perhaps compiled in debug mode?) but was able to run the one compiled by smercurio_fc.  Contrary to the results posted here, I received the SAME error in LabVIEW 8.5.1, 8.2, AND 7.1.  The behavior seems to be inconsistent, so I would look to the DLL some operation that may be writing to memory that is not allocated.

Also, it is best to wire all outputs (as well as inputs) of a Call Library Function Node.  This is covered in this Knowledge Base article.
Brian A.
National Instruments
Applications Engineer
0 Kudos
Message 12 of 12
(380 Views)