NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to convert number to binary?

Hi,

 

This may a small issue.

 

I am using NI teststand 4.2. I have a local variable which is of numeric type. How can I get the binary form of this?

 

Many Thanks

Haneef

0 Kudos
Message 1 of 3
(3,234 Views)

try

 

Locals.string = Str(Locals.number,"%b")

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,229 Views)

Thanks Ray Farmer, this is want.

 

Regards

Haneef

0 Kudos
Message 3 of 3
(3,212 Views)