Anyone who can help me understand this would be much appreciated.
I'm trying to connect to a Marconi 2945 to control it over the RS232 connection.
I am trying to get my head around how to use the following data in the manual:
The following list shows the control characters that are used over the RS232 system to simulate certain features of the IEEE 488 interface.
^A (control A 01H) - connect or goto remote
^D (control D 04H) - disconnect or goto local
^T (control T 14H) - device clear
^Q (control Q 11H) - XON char for software handshake
^S (control S 13H) - XOFF char for software handshake
I'm just not sure how to use these chars - anyone with any experience able to give me a clue?
Many thanks.

1 answers
If you're using .NET's SerialPort class to communicate with this device, then the Write (or WriteLine) method can be called to send it a string of characters using ASCII encoding as the default.
In C#, the control codes you listed can be represented by the following hexadecimal characters.
^A -> 01H -> \x01
^D -> 04H -> \x04
^T -> 14H -> \x14
^Q -> 11H -> \x11
^S -> 13H -> \x13
These characters can be embedded within a string just like any 'normal' characters.
So, to connect to the device, you could use:
serialPort1.Write ("\x01");// or if all transmissions need to be followed by a line feed character
serialPort1.WriteLine("\x01");
answered one year ago by:
17279
151
Man - thank you so much. That was exactly what I needed. I just didn 't know how to translate this into a code to embed as a string. I can now control my device. You are the man! :-)