LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timed Loop in Shared Lib caused LabWindow program to NOT exit

I have a shared Lib created in LabView that I call from LabWindows.  If I create a VI with nothing but a Timed Loop and no other code, my Labwindows program will not terminate.  (Even if I don't call the library function (VI) containing the Timed Loop). 

0 Kudos
Message 1 of 3
(2,485 Views)

Hi JeffMotes,

 

In the VI with the Timed Loop, is there anything wired to the stop for the loop? If you include code and not just an empty Timed Loop, does the LabWindows program still not terminate? Have you isolated the cause of the LabWindows program not terminating to this VI with an empty Timed Loop (If you don't include the VI with the empty Timed Loop in the library file, does the LabWindows program run successfully)?

 

David B.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,439 Views)

I have a conditional that after 3 iterations, the loop is terminated.  (tied to stop) 

 

The timed loop is empty. 

 

The timed loop is definitely the cause of LabWindows not terminating.

 

I have attached a sample of the problem.

0 Kudos
Message 3 of 3
(2,436 Views)