LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to split n bit to boolean led.?

Hi,
I can build a word with some boolean but I can't make the reverse.
I want to translate the 8 bits (Integer8) to boolean led.

See my example.
Thank's a lot
0 Kudos
Message 1 of 6
(3,913 Views)
On the palette right next to Boolean Array to Number is the function Number to Boolean Array.
0 Kudos
Message 2 of 6
(3,913 Views)
Thank's for you answer.
I put the "Number to Boolean Array" in my new example.
It is the single solution ?
I'm looking for a short solution.
Thank's
0 Kudos
Message 3 of 6
(3,913 Views)
Hi

If you want only to see the values, you can place directly an LED Array Indicator. Right click on the output of the "Number to boolean Array" function and select crate>indicator. You can than disable the index display of the array. Otherwise there is no shorter solution.

Luca
Regards,
Luca
0 Kudos
Message 4 of 6
(3,913 Views)
If you want individual indicators then you have to use the index array function but you can use a single one instead of 8. I've attached a modified example.
0 Kudos
Message 5 of 6
(3,912 Views)
Thank's very much.
It's exactly what I want.
Thank's
0 Kudos
Message 6 of 6
(3,912 Views)