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 loop during comparision within the loop

I'm searching for a solution how to check the value of a variable within a loop and
as soon as this value exceeds an other fixed value I want to stop this
loop.
Are there some examples how to realize this.
Thanks
0 Kudos
Message 1 of 2
(2,179 Views)

You can use a While Loop for this..  see attached diagram..

Message Edited by Khalid on 03-29-200601:52 AM

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