Agilent Technologies N1996A-503 User Reference page 304

Csa spectrum analyzer
Table of Contents

Advertisement

Programming Fundamentals
Using the LAN to Control the Instrument
Using the LAN to Control the Instrument
Refer to the function description chapters for information about
configuring the instrument input/output settings from the front panel.
Use the SYSTem commands to change settings remotely.
NOTE
Remember that in any type programming using LAN you should avoid
constantly opening and closing connections. This uses up processing
resources, adds to your system overhead, and can cause problems with
asynchronous implementation of successive commands. When you are
sending the instrument multiple commands: open the connection, send
all the commands, and close the connection.
"Using Telnet to Send Commands" on page 304
"Using Socket LAN to Send Commands" on page 308
"Using SICL LAN to Control the Instrument" on page 309
"Using HP/Agilent VEE Over Socket LAN" on page 314
"General LAN Troubleshooting" on page 316
Using Telnet to Send Commands
Using telnet to send commands to your instrument works in a similar
way to communicating over GPIB. You establish a connection with the
instrument, and then send or receive information using SCPI
commands.
NOTE
If you need to control the bus using "device clear" or SRQ's, you can use
SICL LAN. SICL LAN provides control of your instrument via IEEE
488.2 GPIB over the LAN.
Instrument" on page 309.
NOTE
STATus bits that are already set when the socket connection is made
cannot be read. Only status bit changes that occur after the socket
connection is made will returned when the status register is queried.
On unix or PC:
The syntax of the telnet command is:
telnet <IP address> <5024>
The initial telnet connection message will be displayed and then a
SCPI> prompt. At the SCPI prompt, simply enter the desired SCPI
commands.
304
See "Using SICL LAN to Control the
Chapter 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

N1996a-506

Table of Contents