LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LED INDICATION

Hi,

    In my attached VI you can see that my numerical values are converting to string of 1byte.I need some instructions one how to make LED ON on zeros and LED OFF on ones.

0 Kudos
Message 1 of 7
(3,020 Views)

could look into number to boolean array (its in programming ->numeric -> conversion) then using a NOT gate to invert it. Hope it get you going in the right direction

 

 

Please remember to accept any solutions and give kudos, Thanks


LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7
Message 2 of 7
(3,010 Views)

A couple of points:

  • You should not be using a DBL if you are dealing with bytes. Make the numeric control a U8. Then you can use the function mentioned by Akiel without needing to convert to a string.
  • Don't create a Greedy Loop .
Message 3 of 7
(3,007 Views)

Thanks for promt reply.And sorry for posting such a simple question.

Here is the VI.

0 Kudos
Message 4 of 7
(2,983 Views)

You still made a Greedy Loop.

 

Was there something else you needed with that VI? It appears to do what you want, based on your original question.

0 Kudos
Message 5 of 7
(2,963 Views)

Greedy Loop?I removed the while loop.

OK?

0 Kudos
Message 6 of 7
(2,954 Views)

So you do not need a loop?. A loop without delay is a Greedy loop simply you could have used a delay function.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 7 of 7
(2,948 Views)