The function you want is String/Scan From String. Change the format
string to %b to scan a binary string. This will output an I32 value.
Then use String/Format Into String to directly convert to any other
string format that you want.
- Michael
Bonhomme
wrote in message news:<5065000000080000009D240000-993342863000@exchange.ni.com>...
> Hi guys,
> I'm trying to convert a binary string into a decimal integer. I'm
> not sure if LabVIEW has a VI that does that. I haven't found one yet.
> Basically, say I have the string '0101'. I want to convert that to the
> value '5'. Or say I'm using hex, I want '10101111' to be converted to
> 'AF'. So that's my dilemma. I'm hoping I'm not going to have to make
> my own VI. Thanks a l
ot!
>
> -Mike