LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help!! String conversion!

have been trying for the whole day but unable to solve this conversion

how do i change a string with value '@' to a decimal/binary??

pls help... need to do this for my project
0 Kudos
Message 1 of 4
(3,120 Views)
can you give more details or examples?

-Joe
0 Kudos
Message 2 of 4
(3,116 Views)
opto;

At development time, if you right-click the string control/indicator and change it to hexagesimal, you should see the hex value for "@" (which is 40, or 0100 0000 in binary, or 64 in decimal).

You can use the function "String to Byte Array". To change the number to binary, use the function "Number to Boolean Array". Note that the first element is the less significative bit.

Regards;
Enrique

Message Edited by Enrique on 03-22-2005 11:14 PM

www.vartortech.com
0 Kudos
Message 3 of 4
(3,115 Views)
thanx alot enrique!!

i finally solved my problem..
0 Kudos
Message 4 of 4
(3,106 Views)