LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I convert/read out from a string Hex (8-bit), the bit 0 length 1

How can I convert/read out from Hex (8-bit), the bit 0 length 1 (string subset!!??) and convert it to decimal.

With respect to one complement and two complement ?

0 Kudos
Message 1 of 3
(2,661 Views)

OK we are going to need more information to help without serious guessing here.

 

What Type is the data you want to parse?  (String, U8,?)

 

String to array of U8>> U8 to boolean array>> Index array to get the boolean value for any bit or cast to I8 or U8?  I just can't tell from your discription.


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 3
(2,654 Views)

Just like Jeff, purely guessing here.

 

It almost sounds like you just need to Read from Binary File?

AND the 8-bit number with 1?

 

Need more details.  What exactly do you have to start with?  What exactly are you trying to get out of it?  Examples help.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(2,644 Views)