Agilent Technologies N1996A-503 User Reference page 305

Csa spectrum analyzer
Table of Contents

Advertisement

On a PC (with telnet gui that has host/port setting menu):
You would type at the dos prompt
telnet
NOTE
Early versions of Windows XP Telnet will initially only send a LF, not a
CRLF. So the telnet port 5024 does not work. You can manually correct
this situation by sending the escape sequence and then a CRLF. After
connecting to the instrument, type in the telnet window:
• Crtl-]
• set crlf <enter key>
• <enter key>
You should now see the SCPI> prompt and you can continue
working.
The Windows XP Service Pack 2 fixes this problem. You can get Service
Pack 2 from the Microsoft Windows update website.
Unix Telnet Example:
To connect to the instrument with host name and port number 5024,
enter the following command:
telnet A-N1996A-00265 5024
When you connect to the instrument, it will display a welcome message
and a command prompt. The instrument is now ready to accept your
SCPI commands. As you type SCPI commands, query results appear on
the next line. At any time, you can send a <device clear> by pressing
cntrl-c on your keyboard. When you are done, break the telnet
connection using your escape character, and type quit.
When the instrument responds with the welcome message and the
SCPI prompt, you can immediately enter programming (SCPI)
commands. Typical commands might be:
CALC:MARK:MODE POS
CALC:MARK:MAX
CALC:MARK:X?
The small program above sets the instrument to measure a signal
amplitude by placing a marker on the maximum point of the trace, and
then querying the instrument for the amplitude of the marker.
You need to press Enter after typing in each command. After pressing
Enter on the last line in the example above, the instrument returns the
amplitude level of the marker to your computer and displays it on the
next line. For example, after typing CALC:MARK:MAX? and pressing
Enter, the computer could display:
+2.50000000000E+009
Chapter 5
(press the control and] keys simultaneously)
Programming Fundamentals
Using the LAN to Control the Instrument
305

Advertisement

Table of Contents
loading

This manual is also suitable for:

N1996a-506

Table of Contents