EasyManua.ls Logo

Agilent Technologies E4406A VSA Series User Manual

Agilent Technologies E4406A VSA Series
420 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
Page #102 background imageLoading...
Page #102 background image
102 Chapter2
Programming Fundamentals
Using the LAN to Control the Analyzer
The computer responds with the following messages:
Trying...
Connected to 15.4.45.255.
Escape character is '^]'.
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. When you
are done, break the telnet connection using the escape character (in this
case Ctrl ]), and type quit.
The analyzer responds with the a welcome message and the SCPI
prompt. You can immediately enter programming (SCPI) commands.
Typical commands might be:
CONF:SPECTRUM
CALC:SPECTRUM:MARK:TRACE SPECTRUM
CALC:SPECTRUM:MARK:MAX
CALC:SPECTRUM:MARK:MAX?
The small program above sets the analyzer to measure a signal in the
frequency domain, places a marker on the maximum point, and then
queries the analyzer 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 analyzer returns the
amplitude level of the marker to your computer and displays it on the
next line. For example, after typing CALC:SPECTRUM:MARK:MAX? and
pressing Enter, the computer would display:
+1.71000000000E+002
When you are done, close the telnet connection. Enter the escape
character to get the telnet prompt. The escape character (Ctrl and "]" in
this example) does not print.
At the telnet prompt, type quit or close.
The telnet connection closes and you see your regular prompt.
Connection closed.
Figure 2-2 shows a terminal screen using the example commands
above.

Table of Contents

Other manuals for Agilent Technologies E4406A VSA Series

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies E4406A VSA Series and is the answer not in the manual?

Agilent Technologies E4406A VSA Series Specifications

General IconGeneral
BrandAgilent Technologies
ModelE4406A VSA Series
CategoryTest Equipment
LanguageEnglish

Summary

Safety Information

Front Panel Error Messages Annunciators

Describes status indicators for transmitter tester functions and error conditions.

1 Preparing for Use

Programming the Transmitter Tester

Explains how to program the E4406A VSA Series Transmitter Tester.

Installing Optional Measurement Personalities

Details the two-step process for installing measurement personalities.

Cables for Connecting to RS-232

Describes various cables and adapters for connecting to PCs and printers via RS-232.

Connecting to a LAN Server

Explains how to connect to a LAN server for instrument control.

2 Programming Fundamentals

SCPI Language Basics

Introduces the SCPI programming language and its core concepts.

Using the Instrument Status Registers

Explains how to monitor instrument hardware and firmware events using status registers.

Overview of the GPIB Bus

Explains the fundamentals of the GPIB instrument nomenclature and command statements.

Using the LAN to Control the Analyzer

Covers various methods to control the analyzer via LAN connection.

3 Programming Examples

Using Markers

Demonstrates how to use markers in a C programming example.

Saving Binary Trace Data in an ASCII File

Provides a C programming example for saving binary trace data to an ASCII file.

Using C Programming Over Socket LAN

Demonstrates simple socket programming using C for analyzer control.

4 Programming Command Cross References

Functional Sort of SCPI Commands

Organizes SCPI commands by function for easier reference.

5 Language Reference

SCPI Command Subsystems

Lists and describes various SCPI command subsystems available in the instrument.

Common IEEE Commands

Details commands specified in IEEE Standard 488.2 for instrument control.

6 Error Messages

Error Queues

Explains the instrument's history and SCPI remote interface error queues.

Error Message Descriptions

Provides descriptions for unnumbered, query, device-specific, execution, and command errors.

Related product manuals