11-01-2011 04:42 PM
Hello,
I am a beginner with Labview. I would like to light on and off a LED during 36 cycles. In each cycle LED is on during 5 seconds and off during 10 seconds.
With the attached program, I have 2 problems:
- I can not do anything simultanously with LED control but I have to wait the end of each cycle to be allowed to do something. For example I would like to read temperature every half second and opening and closing a relay depending on its value.
- I can not stop the sequence before the end of all 36 cycles.
I tried also another way to sort it out (event structure) but It doesn't help me at all.
What can I do? Anyone can help me?
Regards
11-01-2011 04:55 PM
will this work?
11-01-2011 04:57 PM - edited 11-01-2011 05:00 PM
11-01-2011 05:10 PM
Thanks.
Your advice help me to solve the first issue about stopping it before the end of all cycles.
But I don't know yet how to execute other operations every 500ms simultanously with LED on/off. With such VI I have to wait 15s before being allowed to do something again.
11-01-2011 05:35 PM
oh, you can just put it in the same stack sequence as the OFF LED or the ON LED.
it should run at the same time.
i dont think there will be a problem if those timeout are 500ms.
try it out. i am still learning like you too.