LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot Send Ctrl+B command over serial Com2

I am trying to communicate with a serial instrument. The ascii command is "STX" however with labview when
the command is sent there is no response. Using Hyperterminal with the same configuration(as labview) I can press "ctrl+b" and instrumnet responds. what is different?
Message 1 of 3
(3,007 Views)
I think what you need to do is send the byte value for STX which I think is 02 hex. There are a few ways to do this. The easiest way to do so is to right click on a text control and select hex display. Now type 02. Change it back to normal display if you want to type in the rest of your message. Connect this control to serial/VISA write. This should be the same as type "ctrl+b" in HyperTerminal.

Let me know if this doesn't help you.

Brian
Message 2 of 3
(3,007 Views)
Changing the Text display to hex display and typing in 02 worked.
Message 3 of 3
(3,007 Views)