LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

to convert decimal array to boolean array

Solved!
Go to solution

hey all

i have a decimal array ( or atleast thats what i think it is).

the array is 1010 ( and the number of bits can change depending on the application)

that 1010 is in decimal. i want to convert that into a boolean 1010 because i have to open close few ports in that logic.

please help

thanks a lot

more kudos to give 🙂 

Many more Kudos to give:)
Message 1 of 5
(3,405 Views)
Solution
Accepted by topic author nikhilvastarey

Your information is a bit sparse, So I'm filling in some blanks by guessing....

 

1010 is not an array (and no boolean either!)

 

Is each digit an element of the array? What is the representation?

If each digit is a numeric element of the array, just wire a "not equal zero" to the array and you'll get a boolean array.

 

It might be easier if you could attach a simple VI that contains the array you have and the array you want. Thanks!

Message 2 of 5
(3,400 Views)
Use the Not equal to Zero function. The input will be your numeric array.
Message Edited by Adnan Z on 01-06-2009 08:21 AM
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 3 of 5
(3,391 Views)

Mr. Nikhilvastarey

 

Is your problem solved?  Please reply back to the questions of altenbach so that we can reply you further.

 

Thanks

ga101

0 Kudos
Message 4 of 5
(3,334 Views)

Yes, thank you.

My problem is solved. i already clicked on the "solution" link to confirm that.

Thank you very much

🙂 

Many more Kudos to give:)
0 Kudos
Message 5 of 5
(3,250 Views)