Technical data

34 Agilent N8211A/N8212A Performance Upconverter Synthetic Instrument Module, 250 kHz to 20 / 40 GHz
2 Using the LAN Interface
Before you can use sockets LAN, you must select the N8211A/N8212A’s sockets port
number to use:
Standard mode. Available on port 5025. Use this port for simple programming.
TELNET mode. The telnet SCPI service is available on port 5023.
An example using sockets LAN is given in “LAN Programming Interface Examples" on
page 55 of this programming guide.
Using Telnet LAN
Telnet provides a means of communicating with the N8211A/N8212A over the LAN. The
Telnet client, run on a LAN connected computer, will create a login session on the
N8211A/N8212A. A connection, established between computer and N8211A/N8212A,
generates a user interface display screen with SCPI> prompts on the command line.
Using the Telnet protocol to send commands to the N8211A/N8212A is similar to
communicating with an instrument over GPIB. You establish a connection with the
N8211A/N8212A and then send or receive information using SCPI commands.
Communication is interactive: one command at a time.
Windows XP operating systems and newer can use this section to better understand how
to use the N8211A/N8212A with port settings.
The following telnet LAN connections are discussed:
“Using Telnet and MS-DOS Command Prompt" on page 34
“The Standard UNIX Telnet Command" on page 35
A Telnet example is provided in “UNIX Telnet Example" on page 35.
Using Telnet and MS-DOS Command Prompt
1 On your PC, click Start > All Programs > Accessories > Command Prompt.
2 At the command prompt, type in telnet.
3 Press Enter. The Telnet display screen will be displayed.
4 Click on the Connect menu then select Remote System.
5 Enter the hostname, port number, and Te rm Type then click Connect.
Host NameIP address or hostname
Port5023
Term Typevt100
6 At the SCPI> prompt, enter SCPI commands.
7 To signal device clear, press Ctrl-C on your keyboard.
8 Ty p e exit at the command prompt to end the Telnet session.