Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

How to send Ctrl-B command using serial?

Hi,
I am using a stepper motor controller that requires the STX (Start of Text) to be Ctrl-B. I have been using HyperTerminal for testing purposes and now I would like to use LV. In HyperTerminal I send commands in the following format: [STX]Command[LFCR]. For example if I want to read the positon of the encoder I must type: Ctrl-B RDP1/0 Enter. My question is how do I send the Ctrl-B command in LV?

Thanks


0 Kudos
Message 1 of 3
(6,170 Views)
The STX cahracter is hex 02 so in order to send this, right click on your string  control/constant and select Hex Display and enter the value 02. Or, right click and select '\' Code Display and enter \02.
Message 2 of 3
(6,164 Views)
Thanks that works.
0 Kudos
Message 3 of 3
(6,141 Views)