Agilent Technologies E1301B Computer Hardware User Manual


 
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
0080
h
128
17F1
h
241
26E2
h
226
3193
h
147
45D4
h
212
52A5
h
165
63B6
h
182
74C7
h
199
83B8
h
184
94C9
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