ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(16,053 Views)

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

 

0 Kudos
Message 2 of 6
(16,048 Views)
Functions-->Progamming-->Boolean-->Boolean Array to Number
========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 6
(16,026 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
(16,023 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
(16,014 Views)
Thanks All
0 Kudos
Message 6 of 6
(15,973 Views)