09-27-2017 02:51 AM
Dear all!
I'm a new one in LabVIEW. Today I have a issue, pls help me solve it:
I have a Button and a LED.
I want: After Button turn ON about 1 second, LED will turn On. Button turn Off, LED will Off.
I research in the internet, so it is difficult to do.
Thanks and best regard!
09-27-2017 03:27 AM
Hi,
Go step by step use boolean button and led connect them, try switching button and run the VI see the effect.
To build it properly as application,research about how to use while loop, event structure and timing functions.
09-27-2017 03:28 AM
I recommend you to learn about producer/consumer design as it helps you in solving the task.
Hint:
1. Producer enqueues the state change of the button
2. a) Simple approach (bad usability): Consumer waits a second and turns LED on/off (depending on button value)
2. b) (good usability) The consumer implements a state machine which iterates on a "time elapsed" case for 1s and then moves on to the "led state change" case