LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is the data sent to COM Hex string?

First.I don't know who should change the data to ASCII,me or COM ?
Second,I want to know if the data sent to COM is only Hex string?
0 Kudos
Message 1 of 2
(2,210 Views)
In Labview, the data sent to the com port is usually a string that is sent to the com port as the hex equivalent. If you want to send hex, use the \ codes for stings while displaying the string in slash codes format. The only thing being sent to the com port is hex.

The data received on the com port is usually hex that is interpreted into ascii by LabVIEW. Sometimes the sender of the com data formats the information in another way. The programmer will have to convert data (which looks like gibberish in a string) into the proper format.

Jeremy Braden
National Instruments
0 Kudos
Message 2 of 2
(2,210 Views)