LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB stopped working in executabl...

In my VI when it starts it sends couple of commands to the hardwar using write GPIB.  The whole VI is working perfectly while tested as a VI in labview. I have created now a stand-alone executable  and the the GPIB write command stopped working when my executable boots up. What did I do wrong?
The code can be seen here. http://forums.ni.com/ni/board/message?board.id=170&message.id=332568#M332568
The  first GPIB write thad does not seem to work in executable can be found in the first frame of the sequance in the SPEKTR.vi.



0 Kudos
Message 1 of 2
(2,383 Views)
I have figured it out myself. The cause was trivial race condition. It is interesting though that the race condition never appeared in the VI until I compiled it into an executable.

0 Kudos
Message 2 of 2
(2,363 Views)