Hyper Terminal
Hyper Terminal
Windows HyperTerminal can be used to program most General Purpose Instruments (not the
531xx series counters) using the RS-232 Serial Bus.
1. In order to use the instrument with RS-232, the correct cable must be used. It is a common
mistake that any 9-pin RS-232 cable can be used. This is not true. Most Agilent instruments
use the Null modem cable that is shipped with the instrument. If unsure about the cable, check
the connections, using an ohmmeter, to the connections shown on page 6 in this document or in
the instrument's User's manual.
2. Setup the instrument to the factory default RS-232 settings. Refer to the instrument User's
manual for the settings. The settings for some typical instruments are as follows:
For other Agilent instruments not listed here, refer to the instrument's User's Manual.
Page 1
3. Select HyperTerminal; use the instructions for your operating system to select it.
4. After HyperTerminal is enabled, select the communication with the instrument, as follows:
A. Enter a
connection name
B. Click on "OK"
B. Click on "OK"
Page 2
6. Set the COM port parameters. The following assumes that COM1 port is used and
HyperTerminal is set to the 34970A's default configuration.
A. Select the
parameters
B. Click on "OK"
B. Click on
"Properties"
Page 3
D. Click on "ASCII Setup"
F. Click on "OK"
G. Click on "OK"
Page 4
8. Type in "*IDN?" to make sure the instrument returns the ID string, as follows:
Returned data from an instrument can be stored into a text file using HyperTerminal. For
example, the "FETCh?" command used by the 34970A and other instruments, returns the
readings from instrument memory. During the time the data is placed into the HyperTerminal
window, it can automatically be stored into a text file. The following procedure shows how to do
that.
A. Click on "Transfer"
B. Click on "Capture Text"
D. Click on "Start"
Page 5
E. Type in the "FETCh?" command, or any other command
that is appropriate for your instrument
The returned readings are displayed and also stored into the test file.
The following shows the cable used for most of the Agilent General Purpose Instruments, like the
33120A, 33250A, 34401A, and 34970A. These instruments use a cable that can be ordered from
Agilent's Parts Ordering department using part number: RS232-61601. For other instruments,
check in the user's manual for the part number and connections.
RS-232 Cable
DCD 1 1 DCD
RX 2 2 RX
TX 3 3 TX
DTR 4 4 DTR
GND 5 5 GND
DSR 6 6 DSR
RTS 7 7 RTS
CTS 8 8 CTS
RI 9 9 RI
Page 6