LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

binary to decimal

Hi All

 

i want to convert binary array to decimal number. give me some idea

 

Thanks

 

 

0 Kudos
Message 1 of 6
(15,699 Views)

Try looking on the function pallet where you might expect it to be? 

 

0 Kudos
Message 2 of 6
(15,694 Views)
Functions-->Progamming-->Boolean-->Boolean Array to Number
========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 6
(15,672 Views)

If the binary array that you talked about is in boolean format (an array of T and F), you can use Boolean array to number.  If not, you can write a loop to convert the 1, 0 to boolean and use the boolean array to number function.

 

Yik 

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 4 of 6
(15,669 Views)
If the binary array is an array of 0,1s feed it into a Not Equal To 0? and then the boolean array to number function
Omar
0 Kudos
Message 5 of 6
(15,660 Views)
Thanks All
0 Kudos
Message 6 of 6
(15,619 Views)