Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use hex delimiters in Instrument IO assistant?

I have a device on the serial port that sends packetized data delimited by 0x02 (stx in ascii). I can't figure out how to tell the instrument IO assistant to use hex delimiters. I've tried /2, /02, 0x02 but nothing seems to work. Any suggestions?

David
0 Kudos
Message 1 of 3
(3,267 Views)
It is not possible specify hex delimiters in IO Assistant. Instruments that transmit ascii usually use visible characters for delimiters and binary transmissions usually do not have any delimiters. If there is no way to configure the device to switch the delimiter to a visible character or to eliminate it, then you will need to write the code to parse the data yourself.
0 Kudos
Message 2 of 3
(3,267 Views)
Thank you, that was what I was afraid of.

David
0 Kudos
Message 3 of 3
(3,267 Views)