
Chapter 2
101
Programming Fundamentals
Using the LAN to Control the Analyzer
Using Telnet to Send Commands
Using telnet to send commands to your analyzer works in a similar way
to communicating over GPIB. You establish a connection with the
analyzer, and then send or receive information using SCPI commands.
NOTE
If you need to control the GPIB using “device clear” or SRQ’s, you can
use SICL LAN. SICL LAN provides control of your analyzer via IEEE
488.2 GPIB over the LAN.
See “Using SICL LAN to Control the
in this chapter.
On unix:
The syntax of the telnet command is:
telnet <vsa hostname> 5023
or
telnet <IP address>
The initial telnet connection message will be displayed and then a
SCPI> prompt. At the SCPI prompt, simply enter the desired SCPI
commands.
On a PC:
You would type at the dos prompt
telnet
The telnet gui has the host/port setting menu.
Unix Telnet Example:
To connect to the instrument with host name
my4406
and port number
5023
, enter the following command:
telnet my4406 5023
NOTE
You must have changed your instrument host name from the default
(for example, change
E566DD69
to my4406) in order to specify your
instrument by name. Press
System, Config I/O, Host Name
.
Alternately, you can enter the IP address directly in the
telnet
command, in place of the analyzer name:
telnet 15.4.45.255 5023
Summary of Contents for E4406A VSA Series
Page 4: ...4 ...
Page 59: ...59 2 Programming Fundamentals ...
Page 124: ...124 Chapter2 Programming Fundamentals Using the LAN to Control the Analyzer ...
Page 125: ...125 3 Programming Examples ...
Page 164: ...164 Chapter3 Programming Examples Using Java Programming Over Socket LAN ...
Page 165: ...165 4 Programming Command Cross References ...
Page 379: ...379 6 Error Messages ...
Page 412: ...412 Chapter6 Error Messages Error Message Descriptions ...