Simple Scpi Communication Methods; Communicating Scpi Using Telnet - Keysight N9000A Manual

Signal analyzers
Hide thumbs Also See for N9000A:
Table of Contents

Advertisement

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
Instrument IP Address" on page
TIP
In newer versions of Microsoft Windows (Windows Vista and Windows 7), you may first need to
enable the Telnet client. See
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
To initiate a Telnet session and communicate SCPI using the LAN connection to the instrument:
Step
Action
1
Obtain the IP address of the instrument
2
Ensure that the instrument Telnet
socket is On
3
Enable computer's Telnet client if
required
4
Test LAN connection
27.
"Enabling Telnet in Windows" on page
Keysight X-Series Signal Analyzers: Getting Started
Notes
If necessary, you can obtain it via the procedure described in
Address" on page
Press System, I/O Config, SCPI LAN, and make sure SCPI Telnet (Port 5023) is toggled
to On.
See
"Enabling Telnet in Windows" on page
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
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.
27.
28.
26
"Determining
28.
Guide.
"Determining Instrument IP
Figure
2-4. If the LAN

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

N9038aN9010aN9030aN9020a

Table of Contents