LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How? RS232 HEX & NOT ASCII Tx/Rx

The Labview serial interface only reads/writes ASCII (which only goes as low
as 20 making it impossible to communicate with our embedded micros under
test) - how can I send/receive HEX??
0 Kudos
Message 1 of 3
(3,383 Views)
On 19 Jul 2000 05:40:35 -0500, "Ben" wrote:

>
>The Labview serial interface only reads/writes ASCII (which only goes as low
>as 20 making it impossible to communicate with our embedded micros under
>test) - how can I send/receive HEX??


No, it does binary. As I had to learn not to think of strings as
only the ASCII character set. Take the string character value and
turn it into a byte.

Regards,

Steve Drake
0 Kudos
Message 2 of 3
(3,383 Views)
On 19 Jul 2000 05:40:35 -0500, "Ben" wrote:

>The Labview serial interface only reads/writes ASCII (which only goes as low
>as 20 making it impossible to communicate with our embedded micros under
>test) - how can I send/receive HEX??

ASCII characters goes from 0 to 127 (7 bit) or 0 to 255 (8 bit).
There are (at least) two ways to easy access all codes:

1:
Set the string control/indicator to show HEX display (or '/' codes
display) (right click on the control).

2:
Convert to/from byte array.
0 Kudos
Message 3 of 3
(3,383 Views)