Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial communication with start and stop commands in Labview

I am trying to talk to a recorder which requires the serial string format [\02AD002;ORC\03]. the \02 and \03 are the hex equivalent for the start text and end text commands. When I type this screen into a VISA session out of MAX everything is happy and works. When I open a visa session in LabVIEW and try to write the exact same string to the port it doesn't send the correct command. Anyone with experience with this?
0 Kudos
Message 1 of 2
(3,252 Views)
NKirchner,

My only suggestion is to make sure that the string control is in Codes Display when typing in your string. To do this, right-click on the control and choose '\' Codes Display. Now type in your string. For more information on the 4 modes of string control, see page 9-2 in the LabVIEW User's Manual.

Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask
Message 2 of 2
(3,252 Views)