LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

bit to number conversion

Can anyone help me URGENTLY on converting a byte into a integer in order to graph it? Tnx
0 Kudos
Message 1 of 3
(2,624 Views)
If your "byte" is a U8 (or an I8), use the numeric conversion (on the Numerics pallet) to convert it to I32 or whatever else you want.  If your "byte" is a character (or a character string), use the string-to-byte-array conversion (on the String pallet) to create a U8 array, then apply the first-mentioned solution.

Bob Schor
0 Kudos
Message 2 of 3
(2,622 Views)

You have to be a bit more clear what your "byte" is? (single character binary string, etc.).

Most likely you have a string, so just typecast it to a U8 or I8, depending on your requirements.

Again graphing a single byte does not seem very interesting. Do you use a chart? Do you have many "bytes"?

0 Kudos
Message 3 of 3
(2,621 Views)