01-16-2011 12:19 AM
Halloooo ,im a newbie in labview , i got a small problem
how to i make a loop for 2 LED light so that they can blink ?
for example , a control and two LED lights (a and b)
when the control turns on , a lights turn on while b lights is off , and then b lights turns on , a lights is off
they loop until the control turns off , then both lights are off , any senior or pro can teach me 😞 ?
01-16-2011 12:55 AM
Show us what you did so far and we will point you in the right direction. 🙂
01-16-2011 02:26 AM
have you tried using a not wired to a shift register
01-16-2011 07:50 AM
Here is an example.
01-16-2011 11:59 AM - edited 01-16-2011 12:01 PM
@Gak wrote:
Here is an example.
One problem here is the overuse of local variables. None are needed here!!!
If the same indicator needs to be written in both cases, the solution is to place the indicator after the case structure. Here's a quick rewrite that shows a better solution. (the other case is empty and the tunnels are set to use default if unwired).
(LOL!, in case this is a class problem or homework, be prepared to fully explain every aspect of the code, so study it well! :))