LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL Call doesn't work the second time

The first time I open the VI, it runs properly. If I close and open it without exiting LabView, the VI isn’t executable anymore because of the broken arrow. I get the message, Call Library Function: function not found in library. In the DLL I can find and select this function, but it doesn’t run. I’m using LV 6.0.
Does anyone have an idea ?
Download All
0 Kudos
Message 1 of 4
(2,900 Views)
Hi Dobi,

Try doing a close before you try the open a second time.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 4
(2,900 Views)
I tried it your way and got error.
I added a close and did not get the error and second attempt.
Did you try closisng?

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 4
(2,900 Views)
Dobi,

The .dll does not appear to be re-entrant.
You have to do a close before doing another open.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 4
(2,900 Views)