LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

binary string to number

Solved!
Go to solution

Hi,

 

I would like to transform a binary string of the form : "000011" to a numeric value (here 3).

I tried to use Byte Array To String and then use Decimal String To Number but I gives me 0 all the time

Thanks

0 Kudos
Message 1 of 2
(1,477 Views)
Highlighted
Solution
Accepted by topic author vlanico

Use a Scan From String function with %b as the format string.

Message 2 of 2
(1,474 Views)