LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

bit pattern to logic?

I need to take an 8 bit pattern and parse the individual bits into a logical display. In other words 11001100 would be parsed out to display switch 1 = True, switch 2 = true, switch three = False....
0 Kudos
Message 1 of 6
(3,072 Views)
Use the Number to Boolean Array found in the Numerics palette. You may have to reverse the array to display properly. See attached example in LV7.1
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 6
(3,072 Views)
Thats quite easy with an logical array, with lights as array-contents,
works alright.
0 Kudos
Message 3 of 6
(3,072 Views)
I have 6.0, file is 7.1 I quess not backwards compatible... any way to save as 6.0?
thanks
0 Kudos
Message 4 of 6
(3,072 Views)
scott-e wrote in message news:<50650000000800000028F70000-1079395200000@exchange.ni.com>...
> I need to take an 8 bit pattern and parse the individual bits into a
> logical display. In other words 11001100 would be parsed out to
> display switch 1 = True, switch 2 = true, switch three = False....

Functions -> Boolean -> Boolean to Number Array.

Paul Cardinale
0 Kudos
Message 5 of 6
(3,072 Views)
Hi,

Here is the file in LabVIEW 6.0.

Regards,
Ankita A.
0 Kudos
Message 6 of 6
(3,072 Views)