EasyManua.ls Logo

Keysight N9030A

Keysight N9030A
52 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
26
SCPI Programming Fundamentals
Simple SCPI Communication Methods
Simple SCPI Communication Methods
This section describes some simple methods that you can use to create SCPI communication sessions between a
computer and an X-Series instrument:
“Communicating SCPI Using Telnet” on page 26
“Communicating SCPI using Keysight Connection Expert” on page 28
Communicating SCPI Using Telnet
You can communicate SCPI using a Telnet connection from a computer to the instrument. The following procedure
describes how to connect a computer running Microsoft Windows to the instrument.
To complete the procedure, you will need to know the IP address of the instrument, which you can obtain by “Determining
Instrument IP Address” on page 27.
TIP In newer versions of Microsoft Windows (Windows Vista and Windows 7), you may first need to
enable the Telnet client. See “Enabling Telnet in Windows” on page 28.
NOTE In addition to the procedure described below, you can open a Telnet connection with the
instrument using an internet connection to the instrument’s Embedded Web Server. This
procedure is described in the Keysight X-Series Signal Analyzers: Getting Started Guide.
To initiate a Telnet session and communicate SCPI using the LAN connection to the instrument:
Step Action Notes
1 Obtain the IP address of the instrument If necessary, you can obtain it via the procedure described in “Determining Instrument IP
Address” on page 27.
2 Ensure that the instrument Telnet
socket is On
Press System, I/O Config, SCPI LAN, and make sure SCPI Telnet (Port 5023) is toggled
to On.
3 Enable computer’s Telnet client if
required
See Enabling Telnet in Windows” on page 28.
4 Test LAN connection 1. On a Microsoft Windows computer, in the Taskbar select Start, Run, and type “cmd” to
open a DOS session.
2. Enter the DOS command “ping”, a single space and the IP address of the instrument, and
press Enter. The results should resemble those shown in Figure 2-4. If the LAN
connection is working, you will see statistics for Packets Sent and Packets Received.
3. In the DOS window, type:
telnet <instrument_IP_address> 5023”, then press Enter.
A Telnet window opens with a Welcome answerback from the instrument Host Name, and
the command prompt changes to “SCPI>”. You can enter any valid SCPI command at the
prompt and receive responses to queries sent.

Table of Contents

Other manuals for Keysight N9030A

Related product manuals