05-16-2014 09:16 AM
Hello all,
I am new user to Labview, and I just wonder how can I control a LED which swich on-off automaticaly for a while, with time of "on=2 sec", and "off=1sec"
I tried different things but I am not able to control the time which the LED is on and off.
I will apreciate if you could please help me.
Thank you.
05-16-2014 11:01 AM - edited 05-16-2014 11:05 AM
@Matin88 wrote:
I am new user to Labview, and I just wonder how can I control a LED which swich on-off automaticaly for a while, with time of "on=2 sec", and "off=1sec"
I tried different things but I am not able to control the time which the LED is on and off.
Then start a new thread instead of appending to a discussion that is over 4 years old. Show us what you tried and we will explain what's wrong and how to do it better.
In the simplest case you could have a while loop with a wait. Toggle the LED and wait time depending if the iteration terminal is even or odd. Code would probably fit on a postage stamp. 😮
Seems to be related to your other discussion. Why not keep it all in one place?
05-16-2014 11:05 AM
05-21-2014 03:00 AM
Dear Altenbach,
Sorry for my mistakes.
05-21-2014 03:30 AM - edited 05-21-2014 03:44 AM
Dear Altenbach,
I used the vi that you provided in first page of this discussion (alternating LED) and it is working well with LEDs but I have problem to connect this on-off switching to DAQ Assistant. I wired form boolean and I used boolean to integer and then to DAQ, but not working.
one more thing is that, for the DAQ and the task of switching on-off should I use analog or digital output?
Thanks,