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: 

stopping a timed loop

Anyone know how to prematurely stop a long duration Timed Loop?  I have a timed loop running at a 10 second rate but would like it to stop immeditaely and exit when the user presses a Stop boolean switch wired to the timed loop stop icon.  I've experimented with simple logic around the 'period' element on both the left and right sides of the loop but the loop just doesn't recognize the stop key press until it times out at 10 seconds.

 

Thanks

Dean...

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

You can use the "Stop Timed Structure VI". Check the online help.

Message Edited by altenbach on 01-28-2010 05:47 PM
0 Kudos
Message 2 of 3
(2,428 Views)
Thanks!  That's the solution.  Just missed it on the Timed Loop palette somehow.
0 Kudos
Message 3 of 3
(2,408 Views)