LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make LED turn ON and OFF based my numeric value input ? For instance, if I input 5, I would like LED to turn ON and OFF 5 times.

Solved!
Go to solution

@AeroSoul wrote:

Can't see paul's idea due to VI version, but here's mine.

 

snippy.png


It is considered bad form to place any lengthy code inside an event structure, even more so if that event is set to lock the panel until the event completes. Most users don't like unresponsive code. In this case, one mouse-down on the increment/decrement while the panel is still  locked will queue up another value change, that will force a unexpected new recount as soon as the event completed.

0 Kudos
Message 11 of 12
(227 Views)

Thanks Mr. Altenbach! I like this feedback. This will make me start to think more about my questions. 

0 Kudos
Message 12 of 12
(187 Views)