Programming instructions

Getting Started
Using LAN
Chapter 124
NOTE If your TELNET connection is in line-by-line mode, there is no local echo. This
means you cannot see the characters you are typing until you press the Enter
key. To remedy this, change your TELNET connection to character-by-character
mode. Escape out of TELNET and, at the telnet> prompt, type mode char. If
this does not work, consult your TELNET program’s documentation.
Unix TELNET Example
To connect to the instrument with host name myInstrument and port number 5023, enter the
following command on the command line:
telnet myInstrument 5023
When you connect to the signal generator, the UNIX window will display a welcome message
and a SCPI command prompt. The instrument is now ready to accept your SCPI commands.
As you type SCPI commands, query results appear on the next line. When you are done, break
the TELNET connection using an escape character. For example, Ctrl -],where the control key
and the ] are pressed at the same time.
The following example shows TELNET commands:
$ telnet myinstrument 5023
Trying....
Connected to signal generator
Escape character is ‘^]’.
Agilent Technologies, E8254A SN-US00000001
Firmware:
Hostname: your instrument
IP :xxx.xx.xxx.xxx
SCPI>