LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hex C 0 to binary 11000000

 
0 Kudos
Message 1 of 5
(2,571 Views)
What is the question?

Hexadecimal "C0" is the same as binary "11000000". Are you having problems with formatting?
Message 2 of 5
(2,562 Views)
yes, i am receiving co from there equipment and they need it to be displayed in binary on the front panel. Thanks. need
0 Kudos
Message 3 of 5
(2,547 Views)
Ok.

Do you receive (1) a length=2 string composed of the characers "C" and "0" or (2) are you receiving a single byte string containing the ASCII character \C0 (in HEX display)?

Case 1. Use "Hexadecimal string to number" with an U8 constant as type.

Case 2. Use typecast with U8 as type.

To display the U8 in binary, set the indicator to binary display format. Attached is a simple example (LabVIEW 7.0).

Message Edited by altenbach on 03-13-2005 09:48 AM

Message 4 of 5
(2,539 Views)
Altenbach, This is the first time I used the discussion forum and it works. Thanks.
0 Kudos
Message 5 of 5
(2,521 Views)