I want to get my while loop to sound an alarm when the value exceeds 20. To do this I am trying to use a while loop where if the final value exceeds 20 sound an alarm. How do I get my while loop to stop when the random number is >20? Numeric is equal to 2.1 and numeric 2 is equal to 18, this is so it will show values between 18 and 20. My working so far:
Asked
Active
Viewed 345 times
1 Answers
1
Compare whatever it is you want to be checked against a constant of value 20, and wire the output of that to the stop
-
Thanks. First time using labview and couldn't find an example like it anywhere. – user3008456 Nov 22 '13 at 11:09
-
@user3008456 - If this helped, perhaps you might accept the answer :-) – mjs Feb 19 '14 at 08:52