Sending binary data over rs-232 – Agilent Technologies E1300B User Manual
Page 234
![background image](/manuals/33541/234/background.png)
1
Sending Binary
Data Over RS-232
The RS-232 interface differs from the GPIB interface in that there is no device
addressing built into the interface definition. Device addressing must be done on
top of the RS-232 functions. This addressing is done through the same
mechanism as the terminal-based front panel, and must be done either by the
transfer program or manually before starting the transfer program.
Setting Up the
Mainframe
There are two commands (SI - Select and Instrument and SA - Select Address)
that can be used at the "Select an Instrument" interface. The "Select an
Instrument" interface can always be reached by sending the < CTRL-D>
character (ASCII 4) over the RS-232 line. Once there, the System Instrument
can be reached by sending the command "SI SYSTEM" followed by a carriage
return. All output after this command will be directed to/from the System
Instrument until another < CTRL-D> is received. The following sequence will
make sure that the mainframe is set up and ready.
1. Send < CTRL-D> (ASCII 4) to get to the "Select and Instrument"
interface.
2. Send "ST UNKNOWN" and a carriage return to insure that the terminal
is set to dumb terminal mode.
Data Value
Correction Code
Byte in Hex
Byte in Decimal
0
0
80
h
128
1
7
F1
h
241
2
6
E2
h
226
3
1
93
h
147
4
5
D4
h
212
5
2
A5
h
165
6
3
B6
h
182
7
4
C7
h
199
8
3
B8
h
184
9
4
C9
h
201
10
5
DA
h
218
11
2
AB
h
171
12
6
EC
h
236
13
1
9D
h
157
14
0
8E
h
142
15
7
FF
h
255
Table D-1. Correction Codes for RS-232 Transmission
D-2 Sending Binary Data Over RS-232