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 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
(3,527 Views)
Solution
Accepted by vlanico

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

Message 2 of 2
(3,524 Views)