LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i modify "finite pulse train (8253).vi" to stop while it is executing without stopping other VI's?

I can reset the counters to stop the pulse train but the VI keeps executing because of the WAIT.VI. How do I stop the VI executing when it is being used as a sub VI? Using LabVIEW 6, LAB-PC-1200 daq card.
0 Kudos
Message 1 of 2
(2,579 Views)
You could set up a case structure around the Wait.VI. Have a variable which identifies whether you have chosen to reset the system or not. If you have, the case structure does not execute the wait, but it just passes through. If you have not reset the system, it does execute the VI and it waits until it's finished.
J.R. Allen
0 Kudos
Message 2 of 2
(2,579 Views)