This guide applies to the followin g sign al generator models:
N5181A MXG Analog Signal Generator
N5182A MXG Vector Signal Generator
Due to our continuing efforts to improve our products through firmware and hardware revisions, signal generator design and
operation may vary f ro m des cr i ptions in this guide. We recommend tha t y ou use the latest revision of this guide to ensure
you have up-to-date product information. Compare the print date of this guide (see bottom of page) with the latest revision,
which can be downloaded from the following website:
The material contained in this document is provided “as is”, and is subject to being changed, without
notice, in future editions.
Further, to the maximum extent permitted by applicable law, Agilent disclaims all warranties, either
express or implied with regard to this manual and to any of the Agilent products to which it
pertains, including but not limited to the implied warranties of merchantability and fitness for a
particular purpose. Agilent shall not be liable for errors or for incidental or consequential damages in
connection with the furnishing, use, or performance of this document or any of the Agilent products
to which it pertains. Should Agilent have a written contract with the User and should any of the
contract terms conflict with these terms, the contract terms shall control.
Questions or Comments about our Documentation?
We welcome any questions or comments you may have about our documentation. Please send us an
E- mail at sources_manuals@am.exch.agilent.com.
Agilent N5181A/82A MXG Signal Generators SCPI Command Referencexiii
Contents
Agilent N5181A/82A MXG Signal Generators SCPI Command Referencexiv
Documentation Overview
Installation Guide
User’s Guide
Programming Guide
SCPI Reference
• Safety Information
• Receiving the Instrument
• Environmental & Electrical Requirements
• Basic Setup
• Accessories
• Operation Verification
• Regulatory Information
• Instrument Overview
• Front Panel Operation
• Security
• Basic Troubleshooting
• Remote Operation
• Status Registers
• Creating & Downloading Files
• SCPI Basics
• Command Descriptions
• Programming Command Compatibility
Service Guide
• Troubleshooting
• Assembly Replacement
• Replaceable Parts
• Post-Repair Procedures
• Safety and Regulator y Information
Key H el p
a
• Key function description
• Related SCPI commands
a.Press the Help hardkey, and then the key for which you wish help.
Agilent N5181A/82A MXG Signal Generators SCPI Command Referencex v
xviAgilent N5181A/82A MXG Signal Generators SCPI Command Reference
1SCPI Basics
This chapter describes how SCPI information is organized and presented in this guide. An overview
of the SCPI language is also provided. This chapter contains the following major sections:
• “Command Reference Information” on page 2
• “SCPI Basics” on page 3
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference1
SCPI Basics
Command Reference Information
Command Reference Information
SCPI Command Listings
The Table of Contents lists the Standard Commands for Programmable Instruments (SCPI) without
the parameters. The SCPI subsystem name will generally have the first part of the command in
parenthesis that is repeated in all commands within the subsystem. The title(s) beneath the
subsystem name is the remaining command syntax. The following example demonstrates this listing:
Communication Subsystem (:SYSTem:COMMunicate)
:LAN:IP
:LAN:SUBNet
The following examples show the complete commands from the above Table of Contents listing:
The index is set up so applicable key and data field names can be cross-referenced to the
appropriate SCPI command. There are two headings in the index where the key and data field names
can be found:
• individual softkey, hardkey, or data field name (i.e. To look up the communication subsystem topic
on Default Gateway softkey refer to Default Gateway softkey.)
• subsystem name (i.e. To look for the Default Gateway softkey (in the Communication Subsystem),
refer to the heading labeled: “communication subsystem keys”.)
Supported Field
Within each command section, the “Supported” heading describes which signal generator
configurations are supported by the SCPI command. When “All Models” is shown next to this
heading, all signal generator configurations are supported by the SCPI command. When “All with
Option xxx” is shown next to this heading, only the stated option(s) is supported.
2Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
SCPI Basics
SCPI Basics
SCPI Basics
This section describes the general use of the SCPI language for the Agilent MXG. It is not intended to
teach you everything about the SCPI language; the SCPI Consortium or IEEE can provide that level of
detailed information. For a list of the specific commands available for the signal generator, refer to
the table of contents.
For additional information, refer to the following publications:
• IEEE Standard 488.1- 2003, IEEE Standard For Higher Performance Protocol for the Standard
Digital Interface for Programmable Instrumentation. New York, NY, 2003.
• IEEE Standard 488.2-1992, IEEE Standard Codes, Formats, Protocols and Command Commands
for Use with ANSI/IEEE Standard 488.1- 1987. New York, NY, 1998.
Common Terms
The following terms are used throughout the remainder of this section:
Command A command is an instruction in SCPI consisting of mnemonics (keywords),
Controller A controller is any device used to control the signal generator, for example a
Event Command Some commands are events and cannot be queried. An event has no
Program Message A program message is a combination of one or more properly formatted
Query A query is a special type of command used to instruct the signal generator to
Response Message A response message is a collection of data in specific SCPI formats sent from the
parameters (arguments), and punctuation. You combine commands to form
messages that control instruments.
computer or another instrument.
corresponding setting; it initiates an action at a particular time.
commands. Program messages are sent by the controller to the signal generator.
make response data available to the controller. A query ends with a question
mark. Generally you can query any command value that you set.
signal generator to the controller. Response messages tell the controller about the
internal state of the signal generator.
Command Syntax
A typical command is made up of keywords prefixed with colons (:). The keywords are followed by
parameters. The following is an example syntax statement:
In the example above, the :INTernal[1] portion of the command immediately follows the :PULM
portion with no separating space. The portion following the :INTernal[1], MAXimum|MINimum|UP|DOWN, are the parameters (argument for the command statement). There is a
separating space (white space) between the command and its parameter.
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference3
SCPI Basics
SCPI Basics
Additional conventions in syntax statements are shown in Table 1- 1 and Table 1- 2.
Table 1-1 Special Characters in Command Syntax
CharactersMeaningExample
|A vertical stroke between keywords or parameters
indicates alterative choices. For parameters, the effect
of the command varies depending on the choice.
[ ]Square brackets indicate that the enclosed keywords or
parameters are optional when composing the command.
These implied keywords or parameters will be executed
even if they are omitted.
< >Angle brackets around a word (or words) indicate they
are not to be used literally in the command. They
represent the needed item.
{ }Braces indicate that parameters can optionally be used
in the command once, several times, or not at all.
Table 1-2 Command Syntax
Characters, Keywords, and SyntaxExample
[:SOURce]:AM:
MOD DEEP|NORMal
DEEP or NORMal are the choices.
[:SOURce]:FREQuency[:CW]?
SOURce and CW are optional items.
[:SOURce]:FREQuency:
STARt <value><unit>
In this command, the words <value>
and <unit> should be replaced by
the actual frequency and unit.
:FREQuency:STARt 2.5GHz
[:SOURce]:LIST:
POWer <value>{,<value>}
a single power listing:
LIST:POWer 5
a series of power listings:
LIST:POWer 5,10,15,20
Upper- case lettering indicates the minimum set of characters
required to execute the command. But, each mode of the
command must be in either short form or the complete long
form (no in between). Example:
Correct:
:FREQ
:FREQuency
Incorrect:
:FREQuenc
4Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
[:SOURce]:FREQuency[:CW]?,
FREQ is the minimum requirement.
Table 1-2 Command Syntax
Characters, Keywords, and SyntaxExample
SCPI Basics
SCPI Basics
Lower- case lettering indicates the portion of the command that
is optional; it can either be included with the upper- case portion
of the command or omitted. This is the flexible format principle
called forgiving listening. Refer to “Command Parameters and
Responses” on page 7 for more information.
When a colon is placed between two command mnemonics, it
moves the current path down one level in the command tree.
Refer to “Command Tree” on page 6 more information on
command paths.
If a command requires more than one parameter, you must
separate adjacent parameters using a comma. Parameters are not
part of the command path, so commas do not affect the path
level.
A semicolon separates two commands in the same program
message without changing the current path.
White space characters, such as <tab> and <space>, are
generally ignored as long as they do not occur within or between
keywords.
However, you must use white space to separate the command
from the parameter, but this does not affect the current path.
:FREQuency
Either :FREQ, :FREQuency, or :FREQUENCY
is correct.
:TRIGger:OUTPut:POLarity?
TRIGger is the root level keyword for this
command.
[:SOURce]:LIST:
DWELl <value>{,<value>}
:FREQ 2.5GHz;:POW 10dBm
:FREQ uency or :POWer :LEVel are not
allowed.
A <space> between :LEVel and 6.2 is
mandatory.
:POWer:LEVel 6.2
Command Types
Commands can be separated into two groups: common commands and subsystem commands. Figure
1- 1, shows the separation of the two command groups.
Common commands are used to manage status registers, synchronization, and data storage and are
defined by IEEE 488.2. They are easy to recognize because they all begin with an asterisk. For
example *IDN?, *OPC, and *RST are common commands. Common commands are not part of any
subsystem and the signal generator interprets them in the same way, regardless of the current path
setting.
Subsystem commands are distinguished by the colon (:). The colon is used at the beginning of a
command statement and between keywords, as in :FREQuency[:CW?]. Each command subsystem is a
set of commands that roughly correspond to a functional block inside the signal generator. For
example, the power subsystem (:POWer) contains commands for power generation, while the status
subsystem (:STATus) contains commands for controlling status registers.
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference5
SCPI Basics
SCPI Basics
Figure 1-1 Command Types
Command Tree
Most programming tasks involve subsystem commands. SCPI uses a structure for subsystem
commands similar to the file systems on most computers. In SCPI, this command structure is called
a command tree and is shown in Figure 1- 2.
Figure 1-2 Simplified Command Tree
The command closest to the top is the root command, or simply “the root.” Notice that you must
follow a particular path to reach lower level commands. In the following example, :POWer represents
AA, :ALC represents BB, :SOURce represents GG. The complete command path is
:POWer:ALC:SOURce? (:AA:BB:GG).
Paths Through the Command Tree
To access commands from different paths in the command tree, you must understand how the signal
generator interprets commands. The parser, a part of the signal generator firmware, decodes each
message sent to the signal generator. The parser breaks up the message into component commands
using a set of rules to determine the command tree path used. The parser keeps track of the current
6Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
SCPI Basics
SCPI Basics
path (the level in the command tree) and where it expects to find the next command statement. This
is important because the same keyword may appear in different paths. The particular path is
determined by the keyword(s) in the command statement.
A message terminator, such as a <new line> character, sets the current path to the root. Many
programming languages have output statements that automatically send message terminators.
NOTEThe current path is set to the root after the line- power is cycled or when *RST is sent.
Command Parameters and Responses
SCPI defines different data formats for use in program and response messages. It does this to
accommodate the principle of forgiving listening and precise talking. For more information on
program data types refer to IEEE 488.2.
Forgiving listening means the command and parameter formats are flexible.
For example, with the :FREQuency:REFerence:STATe ON|OFF|1|0 command, the signal generator
accepts :FREQuency:REFerence:STATe ON, :FREQuency:REFerence:STATe 1, :FREQ:REF:STAT ON,
:FREQ:REF:STAT 1 to turn on the frequency reference mode.
Each parameter type has one or more corresponding response data types. A setting that you program
using a numeric parameter returns either real or integer response data when queried. Response data
(data returned to the controller) is more concise and restricted, and is called precise talking.
Precise talking means that the response format for a particular query is always the same.
For example, if you query the power state (:POWer:ALC:STATe?) when it is on, the response is
always 1, regardless of whether you previously sent :POWer:ALC:STATe 1 or :POWer:ALC:STATe ON.
Table 1-3 shows the response for a given parameter type.
Table 1-3 Parameter and Response Types
Parameter TypesResponse Data Types
NumericReal, Int eger
Extended NumericReal, Integer
DiscreteDiscrete
BooleanNumeric Boolean
StringString
Definite Block
a. (i .e. text, bina r y, disc r ete, real, integer, etc.-).
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference7
Arbitrary byte data
a
SCPI Basics
SCPI Basics
Numeric Parameters
Numeric parameters are used in both common and subsystem commands. They accept all commonly
used decimal representations of numbers including optional signs, decimal points, and scientific
notation.
If a signal generator setting is programmed with a numeric parameter which can only assume a finite
value, it automatically rounds any entered parameter which is greater or less than the finite value.
For example, if a signal generator has a programmable output impedance of 50 or 75 ohms, and you
specified 76.1 for the output impedance, the value is rounded to 75. The following are examples of
numeric parameters:
100no decimal point required
100.fractional digits optional
−1.23leading signs allowed
4.56E<space>3space allowed after the E in exponential
−7.8 9E −001use either E or e in exponential
+256leading + allowed
.5digits left of decimal point optional
Extended Numeric Par ameters
Most subsystems use extended numeric parameters to specify physical quantities. Extended numeric
parameters accept all numeric parameter values and other special values as well.
The following are examples of extended numeric parameters:
100any simple numeric value
1.2GHzGHz can be used for exponential (E009)
200MHzMHz can be used for exponential (E006)
−100mVnegative 100 millivolts
10DEG10 degrees
Extended numeric parameters also include the following special parameters:
DEFaultresets the parameter to its default value
UPincrements the parameter
DOWNdecrements the parameter
MINimumsets the parameter to the smallest possible value
MAXimumsets the parameter to the largest possible value
8Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
SCPI Basics
SCPI Basics
Discrete Parameters
Discrete parameters use mnemonics to represent each valid setting. They have a long and a short
form, just like command mnemonics. You can mix upper and lower case letters for discrete
parameters.
The following examples of discrete parameters are used with the command
:TRIGger[:SEQuence]:SOURce BUS|IMMediate|EXTernal.
BUSGPIB, LAN, or USB triggering
IMMediateimmediate trigger (free run)
EXTernalexternal triggering
Although discrete parameters look like command keywords, do not confuse the two. In particular, be
sure to use colons and spaces properly. Use a colon to separate command mnemonics from each
other and a space to separate parameters from command mnemonics.
The following are examples of discrete parameters in commands:
TRIGger:SOURce BUS
TRIGger:SOURce IMMe diate
TRIGger:SOURce EXTe rnal
Boolean Parameters
Boolean parameters represent a single binary condition that is either true or false. The two- state
boolean parameter has four arguments. The following list shows the arguments for the two- state
boolean parameter:
ONboolean true, upper/lower case allowed
OFFboolean false, upper/lower case allowed
1boolean true
0boolean false
String Par ameters
String parameters allow ASCII strings to be sent as parameters. Single or double quotes are used as
delimiters.
The following are examples of string parameters:
'This is valid'
"This is also valid"
'SO IS THIS'
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference9
SCPI Basics
SCPI Basics
Real Response Data
Real response data represent decimal numbers in either fixed decimal or scientific notation. Most
high- level programming languages that support signal generator input/output (I/O) handle either
decimal or scientific notation transparently.
The following are examples of real response data:
+4.000000E+010, −9.990000E+002
−9.990000E+002
+4.0000000000000E+010
+1
0
Integer Response Data
Integer response data are decimal representations of integer values including optional signs. Most
status register related queries return integer response data.
The following are examples of integer response data:
0signs are optional
+100leading + allowed
−100leading − allowed
256never any decimal point
Discrete Response Data
Discrete response data are similar to discrete parameters. The main difference is that discrete
response data only returns the short form of a particular mnemonic, in all upper case letters.
The following are examples of discrete response data:
IMM
EXT
INT
NEG
Numeric Boolean Response Data
Boolean response data returns a binary numeric value of one or zero.
String Response Data
String response data are similar to string parameters. The main difference is that string response
data returns double quotes, rather than single quotes. Embedded double quotes may be present in
10Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
SCPI Basics
SCPI Basics
string response data. Embedded quotes appear as two adjacent double quotes with no characters
between them.
The following are examples of string response data:
"This is a string"
"one double qu ote i nside br acket s: [" "]"
"Hello!"
Program Messages
The following commands will be used to demonstrate the creation of program messages:
This program message is correct and will not cause errors; STARt and STOP are at the same path
level. It is equivalent to sending the following message:
FREQuency:STARt 500MHz;FREQuency:STOP 1000MHz
Example 2
:POWer 10DBM;:OFFSet 5DB
This program message will result in an error. The message makes use of the default
POWer[:LEVel] node (root command). When using a default node, there is no change to the current
path position. Since there is no command OFFSet at the root level, an error results.
The following example shows the correct syntax for this program message:
:POWer 10DBM;:POWer:OFFSet 5DB
Example 3
:POWer:OFFSet 5DB;POWer 10DBM
This program message results in a command error. The path is dropped one level at each colon. The
first half of the message drops the command path to the lower level command OFFSet; POWer does
not exist at this level.
The POWer 10DBM command is missing the leading colon and when sent, it causes confusion because
the signal generator cannot find POWer at the POWer:OFFSet level. By adding the leading colon, the
current path is reset to the root. The following shows the correct program message:
:POWer:OFFSet 5DB;:POWer 10DBM
Example 4
FREQ 500MHz;POW 4DBM
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference11
SCPI Basics
SCPI Basics
In this example, the keyword short form is used. The program message is correct because it utilizes
the default nodes of :FREQ[:CW] and :POW[:LEVel]. Since default nodes do not affect the current
path, it is not necessary to use a leading colon before FREQ or POW.
File Name Variables
File name variables designate a data file and file path. File name variables are used in the SCPI
command syntax whenever files are accessed. The name of the file is always required, but the file
path can sometimes be optional or be designated using different formats. The following table shows
these different file path formats:
FormatFile Name VariableExample
Format 1"<file name>""Test_Data"
Format 2"<file name@msus>"
Format 3"<msus:file name>""SEQ:Test_Data"
Format 4"</user/directory/file name>""/USER/SEQ/Test_Data"
a.Included for backward s compatibility. Not a recommended syntax.
"Test_Data@SEQ"
a
Formats 2–4 offer programming flexibility and are equivalent. Format 1 can only be used with SCPI
commands that imply the path name as part of the command syntax. Typically, SCPI load commands
that access user-data files do not need to have a file path designated.
See Table 1-4 on page 14 for information on file types and directories.
NOTEThe maximum length for a file name is 23 characters, excluding the file path.
Example Using Format 1
:CORR:FLAT:LOAD "FLAT_DATA"
The preceding example loads user- flatness data from a file called FLAT_DATA located in the USERFLAT
directory. No file path is needed as the command syntax implies the directory where the file is
located.
Example Using Format 2
:MEM:COPY "IQ_DATA@NVWFM","Test_DATA@WFM1"
The preceding example copies a file named IQ_DATA located in the WAVEFORM directory to a file
named Test_DATA in volatile waveform memory (WFM1).
Example Using Format 3
:MEM:COPY "NVWFM:IQ_DATA","WFM1:Test_DATA"
The preceding example copies a file named IQ_DATA located in the WAVEFORM directory to a file
named Test_DATA in volatile waveform memory (WFM1).
12Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
The preceding example copies a file named IQ_DATA located in the WAVEFORM directory to a file
named IQ_DATA in volatile waveform memory (WFM1).
The following examples show commands, with different formats, that can be used to download a
waveform file named Test_Data into the signal generator’s volatile waveform memory (WFM1):
Command Syntax Format 3
:MEMory:DATA "WFM1:Test_Data",#ABC
Command Syntax Format 4
:MEMory:DATA "/USER/BBG1/WAVEFORM/Test_Data",#ABC
These commands are equivalent. The data block, #ABC, is described as follows:
# This character indicates the beginning of the data block
A Number of digits in the byte count B
B Byte count in C
C Wavefo r m d a t a
Refer to “:DATA” on page 81 and the Programming Guide for more information on data blocks and
downloading waveform data.
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference13
SCPI Basics
SCPI Basics
File Types and Directory Structure
The signal generator uses a computer directory model structure for file storage. The top level
directory is called the USER directory. All other directories are subdirectories located under the
USER directory. Each subdirectory is dedicated to the type of data stored. For example, the BIN
directory is used to store binary data whereas the MARKERS directory is used to store marker data.
NOTEWhen external memory is used, the files on the external memory are stored in a single
directory (i.e. USER/). Each file has an extension (i.e. .waveform, .list, .markers, .state, etc.- ).
The SCPI commands use the paths shown in Table 1- 4 on page 14 and the associated
examples. But when viewed, the external memory, will not display these directories. Instead
the file extensions will be displayed. For more information on the external memory
capability refer to the Programming Guide and to the Users Guide.
The following table lists signal generator the subdirectories and file paths where file types are stored.
USERFLAT - user- f latness fileUFLT /USER/USERFLATUSERFLAT:
WFM1 - volatile
waveform file
a
WFM1/USER/BBG1/WAVEFORMWFM1:
a.This feature does not apply to the N5181A.
14Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
SCPI Basics
SCPI Basics
MSUS (Mass Storage Unit Specifier) Variable
The variable "<msus>" enables a command to be file type specific when working with user files.
Some commands use it as the only command parameter, while others can use it in conjunction with
a file name when a command is not file type specific. When used with a file name, it is similar to
Format 2 in the File Name Variables section on page 12. The difference is the file type specifier
(msus) occupies its own variable and is not part of the file name syntax.
The following examples illustrate the usage of the variable "<msus>" when it is the only command
parameter:
Command Syntax with the msus variable
:MMEMory:CATalog? "<msus>"
Command Syntax with the file system
:MMEMory:CATalog? "LIST:"
The variable "<msus>" is replaced with "LIST:". When the command is executed, the output displays
only the files from the List file system.The following examples illustrate the usage of the variable
"<file name>" with the variable "<msus>":
Command Syntax with the file name and msus variables
:MMEMory:DELete[:NAME] "<file name>",["<msus>"]
Command Syntax with the file name and file system
:MMEMory:DELete:NAME "LIST_1","LIST:"
The command from the above example cannot discern which file system LIST_1 belongs to without a
file system specifier and will not work without it. When the command is properly executed, LIST_1 is
deleted from the List file system.
The following example shows the same command, but using Format 2 from the File Name Variables
section on page 12:
:MMEMory:DELete:NAME "LIST_1@LIST"
When a file name is a parameter for a command that is not file system specific, either format ("<file
name>","<msus>" or "<file name@msus>") will work.
Refer to Table 1- 4 on page 14 for a listing of the file systems and types.
Quote Usage with SCPI Commands
As a general rule, programming languages require that SCPI commands be enclosed in double quotes
as shown in the following example:
":FM:EXTernal:IMPedance 600"
However when a string is the parameter for a SCPI command, additional quotes or other delimiters
may be required to identify the string. Your programming language may use two sets of double
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference15
SCPI Basics
SCPI Basics
quotes, one set of single quotes, or back slashes with quotes to signify the string parameter. The
following examples illustrate these different formats:
"MEMory:LOAD:LIST ""myfile""" used in BASIC programming languages
"MEMory:LOAD:LIST \"myfile\"" used in C, C++, Java, and PERL
"MEMory:LOAD:LIST 'myfile'" accepted by most programming languages
Consult your programming language reference manual to determine the correct format.
16Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
SCPI Basics
SCPI Basics
Binary, De cimal, Hexadecimal, and Octal Formats
Command values may be entered using a binary, decimal, hexadecimal, or octal format. When the
binary, hexadecimal, or octal format is used, their values must be preceded with the proper identifier.
The decimal format (default format) requires no identifier and the signal generator assumes this
format when a numeric value is entered without one. The following list shows the identifiers for the
formats that require them:
• #B identifies the number as a binary numeric value (base- 2).
• #H identifies the number as a hexadecimal alphanumeric value (base- 16).
• #Q identifies the number as a octal alphanumeric value (base- 8).
The following are examples of SCPI command values and identifiers for the decimal value 45:
#B101101 binary equivalent
#H2D hexadecimal equivalent
#Q55 octal equivalent
The following example sets the RF output power to 10 dBm (or the equivalent value for the currently
selected power unit, such as DBUV or DBUVEMF) using the hexadecimal value 000A:
:POW #H000A
A unit of measure, such as dBm or mV, will not work with the values when using a format other than
decimal.
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference17
SCPI Basics
SCPI Basics
18Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
2Basic Function Commands
This chapter provides SCPI descriptions for subsystems dedicated to signal generator operations
common to most Agilent MXG Signal Generators. This chapter contains the following major sections:
• “Correction Subsystem ([:SOURce]:CORRection)” on page 20
• “Digital Modulation Subsystem—N5182A ([:SOURce])” on page 24
• “Frequency Subsystem ([:SOURce])” on page 32
• “List/Sweep Subsystem ([:SOURce])” on page 42
• “Power Subsystem ([:SOURce]:POWer)” on page 50
• “Tsweep Subsystem ([:SOURce])” on page 58
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference19
Basic Function Commands
Correction Subsystem ([:SOURce]:CORRection)
Correction Subsystem ([:SOURce]:CORRection)
:FLATness:INITialize:FSTep
Supported All Models
CAUTIONThe current flatness data will be overwritten once this command is executed. If needed,
save the current data. Refer to “:FLATness:STORe” on page 23 for storing user flatness
files.
[:SOURce]:CORRection:FLATness:INITialize:FSTep
This command replaces the loaded user flatness data with the settings from the current step array
data points.
You can load only one user flatness file at a time.
The maximum number of user flatness points is 1,601. When copying the step array settings over to
a user flatness file, ensure that the number of points in the step array do not exceed the maximum
user flatness points.
Key Entr y Load Cal Array From Step Array
:FLATness:LOAD
Supported All Models
[:SOURce]:CORRection:FLATness:LOAD "<file name>"
This command loads a user- flatness correction file. The "<file name>" variable is the name of the file
located in the Catalog of USERFLAT Files. The directory path is implied in the command and need
not be specified in the variable name. For more information on file name syntax, refer to “File Name
Var i ables” o n page 12.
Key Entr y Load From Selected File
20Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
This command is used to define the number of points in the user flatness calibration step array. See
also, “:FLATness:STEP:STARt” on page 22 and “:FLATness:STEP:STOP” on page 22.
This command sets the stop frequency for the user flatness calibration step array. See also,
“:FLATness:STEP:POINts” on page 22 and “:FLATness:STEP:STARt” on page 22.
*RSTOption 501: +1.0000000000000E+09
Option 503: +3.0000000000000E+09
Option 506: +6.0000000000000E+09
RangeOption 501: 100kHz–1GHz
Option 503: 100kHz–3GHz
Option 506: 100kHz–6GHz
Key Entr y Freq Stop
Remarks Options 501 is specific to the N5181A.
22Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
Correction Subsystem ([:SOURce]:CORRection)
Basic Function Commands
:FLATness:STORe
Supported All Models
[:SOURce]:CORRection:FLATness:STORe "<file name>"
This command stores the current user-flatness correction data to a file named by the
:CORRection:FLATness:STORe command. The directory path is implied in the command and need not
be specified in the "<file name>" variable.
Key Entr y Store To File
Remarks For information on file name syntax, refer to “File Name Variables” on page 12.
This command enables the internal optimized path to accommodate I/Q signals.
EXT This choice enables the Baseband Generator to external I/Q output path, applies
correction terms, and provides a calibrated signal at the IQ output. When the
I/Q Output is selected, the RF signals at the RF Output are uncalibrated.
RFO This choice enables the Baseband Generator to RF output path, applies correction
*RST RFO
Key Entr y I/Q Correction Optimized Path
terms, and provides a calibrated signal at the RF output. When the RF Output is
selected, the I/Q signals at the I/Q Output are uncalibrated.
:DM:EXTernal:ALC:BANDwidth|BWIDth
Supported N5182A
NOTERefer to the Programming Compatibility Guide for information on this command. This
24Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
command was replaced by the “:ALC:BANDwidth|BWIDth” command shown in Chapter 6.
This command enables you to change the absolute phase of both I and Q with respect to triggers and
markers. A positive value delays I and Q. This value affects both the external I/Q out signals and the
baseband signal modulated on the RF output. This adjustment cannot be used with constant envelope
modulation and does not affect external I/Q inputs.
The variable <value> is expressed in seconds.
*RST +0.00000000E+000
Range −400 νσ το 400 νσ
Key Entr y I/Q Delay
Remarks This command is effective only if the state of the I/Q adjustment function is set to
ON. Refer to “:DM:IQADjustment[:STATe]” on page 30.
This command sets the common mode offset voltage for both the in-phase (I) and quadrature- phase
(Q) signals going to the rear panel I and Q output connectors.
The variable <value> is expressed in units of volts (mV–V).
*RST +0.00000000E+000
Range ∠2.5 to 2.5V
Key Entr y Common Mode I/Q Offset
Remarks This command is effective only if the state of the I/Q adjustment function is set to
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference25
Basic Function Commands
Digital Modulation Subsystem—N5182A ([:SOURce])
ON. Refer to “:DM:IQADjustment[:STATe]” on page 30.
When using this command to minimize the LO feedthrough signal, optimum performance is achieved
when the command is sent after all other I/Q path commands are executed, such as those that
change the internal phase polarity or adjust the modulator attenuator. If other adjustments are made
after minimizing is performed, the LO feedthrough signal may increase.
The variable <value> is expressed in units of percent with a minimum resolution of 0.025.
*RST +0.00000000E+000
Range −20.000 to 20.000
Key Entr y I Offset
Remarks This command is effective only if the state of the I/Q adjustment function is set to
ON. Refer to “:DM:IQADjustment[:STATe]” on page 30.
When using this command to minimize the LO feedthrough signal, optimum performance is achieved
when the command is sent after all other I/Q path commands are executed, such as those that
change the internal phase polarity or adjust the modulator attenuator. If other adjustments are made
after minimizing is performed, the LO feedthrough signal may increase.
The variable <value> is expressed in units of percent with a minimum resolution of 0.025.
*RST +0.00000000E+000
Range −20.000 to 20.000
Key Entr y Q Offset
Remarks This command is effective only if the state of the I/Q adjustment function is set to
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference27
ON. Refer to “:DM:IQADjustment[:STATe]” on page 30.
Basic Function Commands
Digital Modulation Subsystem—N5182A ([:SOURce])
CAUTIONThis Q phase angle adjustment is uncalibrated.
This command adjusts the phase angle (quadrature skew) between the I and Q vectors by increasing
or decreasing the Q phase angle. This command adjusts the signals externally input to the signal
generator’s front panel Q input connector. For more information on this connector, refer to the User’s
Guide.
The <value> variable is expressed in degrees with a minimum resolution of 0.1.
If the signal generator is operating at frequencies greater than 3.3 GHz, quadrature skew settings
greater than ±5 degrees will not be within specifications.
Positive skew increases the angle from 90 degrees while negative skew decreases the angle from
90 degrees. When the quadrature skew is zero, the phase angle between the I and Q vectors is 90
degrees.
This command is effective only if the state of the I/Q adjustment function is set to ON. Refer to
“:DM:IQADjustment[:STATe]” on page 30.
Example
:DM:IQAD:EXT:QSK 4.5
The preceding example increases the phase angle by 4.5 degrees.
*RST +0.00000000E+000
Range −200 to +200
Key Entr y Quadrature Angle Adjustment
28Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
This command adjusts the phase angle (quadrature skew) between the I and Q vectors by increasing
or decreasing the Q phase angle.
The <value> variable is expressed in degrees with a minimum resolution of 0.1.
If the signal generator is operating at frequencies greater than 3.3 GHz, quadrature skew settings
greater than ±5 degrees will not be within specifications.
Positive skew increases the angle from 90 degrees while negative skew decreases the angle from
90 degrees. When the quadrature skew is zero, the phase angle between the I and Q vectors is 90
degrees.
This command is effective only if the state of the I/Q adjustment function is set to ON. Refer to
“:DM:IQADjustment[:STATe]” on page 30.
Example
:DM:IQAD:QSK 4.5
The preceding example increases the phase angle by 4.5 degrees.
*RST +0.00000000E+000
Range −1E1 to +1E1
Key Entr y Quadrature Angle Adjustment
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference29
Basic Function Commands
Digital Modulation Subsystem—N5182A ([:SOURce])
This command changes the I/Q skew which is a time delay difference between the I and Q signals.
Equal and opposite skew is applied to both I and Q and affects the RF Output and I/Q output paths
simultaneously. A positive value delays the I signal relative to the Q signal, and a negative value
delays the Q signal relative to the I signal.
Example
:DM:IQAD:SKEW 5E–9
The preceding example sets the time delay difference between the I and Q signals to 5 nanoseconds.
EXTernal This choice selects a 50 ohm impedance for the I and Q input connectors and
routes the applied signals to the I/Q modulator.
INTernal This choice selects the internal baseband generator as the source for the I/Q
modulator and requires Option 651/652/654.
Sum This choice selects the internal baseband generator and combines that signal with
an external source and routes the applied signals to the I/Q modulator and
requires Option 651/652/654.
*RSTINT
Key EntryExternalInternalSum
:DM:STATe
Supported N5182A
[:SOURce]:DM:STATe ON|OFF|1|0
[:SOURce]:DM:STATe?
This command enables or disables the I/Q modulator.
The I/Q modulator is enabled whenever a digital format is turned on.
The I/Q annunciator will be shown on the signal generator display whenever the I/Q modulator is
on.
ON (1) This choice enables the internal I/Q modulator.
OFF (0) This choice disables the internal I/Q modulator. You can turn off the I/Q
modulation with this choice even though a digital modulation format is enabled.
With this configuration, the RF output signal will not be modulated, but the I/Q
signals may be present at the rear panel I and Q outputs depending on the rear
panel output selection.
*RST 0
Key Entr y I/Q Off On
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference31
Basic Function Commands
Frequency Subsystem ([:SOURce])
This command sets the center frequency for a step sweep. The center frequency symmetrically divides
the selected frequency span and is coupled to the start and stop frequency settings. The frequency
range and reset values are dependent on the signal generator model and option number.
The query returns the start and stop frequencies if the optional MAXimum or MINimum are used.
This command sets the frequency of the signal generator by specifying a frequency channel band. The
frequency channel state must be enabled for this command to work. See
“:FREQuency:CHANnels[:STATe]” on page 35.
Table 2-1 Frequency Channel Bands
SCPI Paramet erFrequency Channel Band
Selected
NBASeStandard BaseNADC
NMOBileStandard MobileNADC
BPGSmP- Gsm 900 BaseGSM
MPGSmP- Gsm 900 MobileGSM
BEGSmE- Gsm 900 BaseGSM
32Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
Standard
Table 2-1 Frequency Channel Bands
Basic Function Commands
Frequency Subsystem ([:SOURce])
SCPI Paramet erFrequency Channel Band
Selected
MEGSmE- Gsm 900 MobileGSM
BRGSmR- Gsm 900 BaseGSM
MRGSmR- Gsm 900 MobileGSM
BDCSDCS 1800 BaseGSM
MDCSDCS 1800 MobileGSM
BPCSPCS 1900 BaseGSM
MPCSPCS 1900 MobileGSM
B450Gsm 450 BaseGSM
GM450Gsm 450 MobileGSM
B480Gsm 480 BaseGSM
M480Gsm 480 MobileGSM
B850Gsm 850 BaseGSM
M850Gsm 850 MobileGSM
B8800MHz BasePDC
M8800MHz MobilePDC
B151500MHz BasePDC
M151500MHz MobilePDC
B390Base 390- 400TETRA
B420Base 420- 430TETRA
B460Base 460- 470TETRA
B915Base 915- 921TETRA
M380Mobile 380- 390TETRA
M410Mobile 410- 420TETRA
M450Mobile 450- 460TETRA
M870Mobile 870- 876TETRA
PHSStandard PHSPHS
DECTStandard DECTDECT
Standard
Example
:FREQ:CHAN:BAND DECT
The preceding example sets the frequency band to standard DECT.
This command enables or disables the frequency channel and band selection. The signal generator
frequency will be set to the channel frequency when the state is on. To set frequency channel bands
refer to “:FREQuency:CHANnels:BAND” on page 32.
Example
:FREQ:CHAN ON
The preceding example turns on the frequency channel.
This command sets the frequency mode of the signal generator to CW or swept.
CW and FIXed These choices are synonymous with one another and stops a frequency sweep,
LIST This choice selects the swept frequency mode. If sweep triggering is set to
allowing the Agilent MXG to operate at a set frequency. Refer to
“:FREQuency[:CW]” on page 39 for setting the frequency in the CW mode and to
“:FREQuency:FIXed” on page 35 for setting the frequency in the FIXed mode.
immediate along with continuous sweep mode, executing the command starts the
LIST or STEP frequency sweep.
NOTETo perform a frequency and amplitude sweep, you must also select LIST as the power mode.
*RST CW
Key Entr y FreqFreq Off
See “:MODE” on page 54 for selecting the list mode for an amplitude sweep.
This command sets the multiplier for the signal generator carrier frequency. This displayed frequency
equals the actual frequency times the multiplier.
*RST +1.00000000E+000
RangeNegative Values: –1000 to –.001Positive Values: .001–1000
Key Entr y Freq Multiplier
Remarks For any multiplier other than one, the MULT indicator is shown in the frequency
The query of this command returns a value equal to the original output frequency times the
multiplier value, plus the frequency offset value. This displayed frequency equals the actual frequency
times the multiplier.
36Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
Basic Function Commands
Frequency Subsystem ([:SOURce])
When an offset has been entered, the OFFS indicator is turned on in the frequency area of the
display.
The frequency offset state is turned on when any non- zero value is entered; entering zero will turn
it off. Refer to :FREQuency:OFFSet:STATe for setting the offset state independent of entering offset
values.
This command sets the length of the frequency range for a step sweep. Span setting is symmetrically
divided by the selected center frequency and is coupled to the start and stop frequency settings. The
span range is dependent on the signal generator model and option number.
Example
:FREQ:SPAN 100MHz
The preceding example sets the frequency span to 100 megahertz.
This command enables or disables the ability of the signal generator to automatically select between
the internal and an external reference oscillator.
ON (1) This choice enables the signal generator to detect when a valid reference signal is
OFF (0) This choice selects the internal reference oscillator and disables the switching
*RST 1
Key Entr y Ref Oscillator Source Auto Off On
present at the 10 MHz IN connector and automatically switches from internal to
external frequency reference.
capability between the internal and an external frequency reference.
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference41
Basic Function Commands
List/Sweep Subsystem ([:SOURce])
List/Sweep Subsystem ([:SOURce])
A complete sweep setup requires commands from other subsystems. Table 2- 2 shows the function
and location of these other commands.
Table 2-2 Location of Commands from the other Subsystems
Sweep TypeFunctionCommand LocationKey Entry under
List and StepStart/stop frequency sweep“:FREQuency:MODE” on page 36Freq Off On
Start/stop amplitude sweep“:MODE” on page 54Amptd Off On
Start/stop frequency and
amplitude sweep
Enables or Disables the
waveform sweep
Set up and control sweep
triggering
ListLoad a list sweep file“:LOAD:LIST” on page 88 and
Store list sweep data to a file“:STORe:LIST” on page 85 and
Selects the waveform for the
current waveform sequence
StepStart frequency sweep“:FREQuency:STARt” on page 38Freq Start
Store list sweep data to a file“:STORe:LIST” on page 85 and
Start amplitude sweep“:STARt” on page 55Amptd Start
a
b
“:MODE” on page 54
“:FREQuency:MODE” on page 36
“[:STATe]” on page 164Waveform Off On
“Trigger Subsystem” on page 115See the “Trigger
page 88
page 85
“:LIST:WAVeform” on page 48no softkey
page 85
Sweep/List key
Freq & Amptd
Off On
Subsystem”
Load From Selected
File
Store To File
Store To File
Stop amplitude sweep“:STOP” on page 56Amptd Stop
a.Execute both commands to start or stop a frequency and amplitude sweep.
b.For point to point triggering, see “:L IS T :TRIGger:SOURce” on page 46.
42Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
This command sets the frequency values for the current list sweep points.
The maximum number of list sweep points is 1,601.
The variable <value> is expressed in units of Hertz.
The setting enabled by this command is not affected by signal generator power-on, preset, or *RST.
Option 501 is specific to the N5181A.
RangeOption 501: 1.0E3–1E9
Option 503: 1.0E3–3E9
Option 506: 1.0E3–6E9
:LIST:FREQuency:POINts
Supported All Models
[:SOURce]:LIST:FREQuency:POINts?
This command queries the current list sweep file for the number of frequency points.
44Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
This command sets a list or step sweep point as the current sweep point controlling the frequency
and power output.
If list or step mode is controlling frequency or power, or both, then the indexed point in the
respective list(s) will be used.
Entering a value with this command will have no effect, unless MANual is the selected mode. Refer
to “:LIST:MODE” on page 45 for setting the proper mode.
If the point selected is beyond the length of the longest enabled list, then the point will be set to the
maximum possible point, and an error will be generated.
Range List Sweep: 1–1601 Step Sweep: 2- 65535
Key Entr y Manual Point
This command toggles between the two types of sweep.
LIST This type of sweep has arbitrary frequencies and amplitudes.
STEP This type of sweep has equally spaced frequencies and amplitudes.
*RST STEP
Key Entr y Sweep Type List Step
:LIST:TYPE:LIST:INITialize:FSTep
Supported All Models
CAUTIONThe current list sweep data will be overwritten once this command is executed. If
[:SOURce]:LIST:TYPE:LIST:INITialize:FSTep
This command replaces the loaded list sweep data with the settings from the current step sweep data
points.
You can load only one sweep list at a time.
The maximum number of list sweep points is 1,601. When copying the step sweep settings over to a
list sweep, ensure that the number of points in the step sweep do not exceed the maximum list
sweep points.
Key Entr y Load List From Step Sweep
needed, save the current data. Refer to “:STORe:LIST” on page 85 for storing list sweep
files.
:LIST:TYPE:LIST:INITialize:PRESet
Supported All Models
CAUTIONThe current list sweep data will be overwritten once this command is executed. If
needed, save the current data. Refer to “:STORe:LIST” on page 85 for storing list sweep
files.
[:SOURce]:LIST:TYPE:LIST:INITialize:PRESet
This command replaces the current list sweep data with a factory- defined file consisting of one point
at a frequency, amplitude, and dwell time.
Key Entr y Preset List
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference47
Basic Function Commands
List/Sweep Subsystem ([:SOURce])
:LIST:WAVeform
Supported N5182A
CAUTIONThe current list sweep data will be overwritten once this command is executed. If
This command sets the automatic leveling control (ALC) level. Use this command after setting the
attenuation auto mode to On. Refer to “:ATTenuation:AUTO” on page 53 for setting the attenuation
auto mode.
The ALC is used to maintain the signal generator’s output power level by compensating for power
fluctuations due to drift, band changes, or load variations. After you set the ALC level, the signal
generator’s output power is monitored and corrected so that the power level setting is maintained.
This command enables or disables the internal power search calibration. A power search is
recommended for pulse-modulated signals with pulse widths less than one microsecond.
ON (1) This choice executes the power search automatically with each change in RF
ONCE This choice executes a single power search of the current RF output signal.
*RST1
Key EntryDo Power Search
RemarksUse this command when the ALC state is set to OFF (0). Refer to “:ALC[:STATe]”
This command enables you to select the frequency range for a span power search. You can specify
the range (USER) or you can select the full range (FULL) of the signal generator.
Key Entr ySpan Type User Full
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference51
Basic Function Commands
Power Subsys t e m ([:SOURce]:P OWer)
This command enables (1) or disables (0) the span mode, allowing you to perform power searches
over a selected range of frequencies. The power search corrections are then stored and used
whenever the signal generator is tuned within the selected range.
This command enables or disables the automatic leveling control (ALC) circuit.
*RST 1
Key Entr y ALC Off On
Remarks The purpose of the ALC circuit is to hold output power at a desired level by
adjusting the signal generator’s power circuits to compensate for power drift.
Power drift occurs over time and changes in temperature. Refer to the
N5181A/82A Agilent MXG Signal Generators User’s Guide for more information on
the ALC.
This command sets the signal generator’s attenuator level. Before setting the attenuator level, set the
“:ATTenuation:AUTO” function to Off which will disable ALC control.
In normal operation the attenuator level is selected by the signal generator’s automatic loop control
(ALC) which maintains the output power by adjusting internal circuits to compensate for any power
fluctuations due to drift, band changes, or load variations. In some applications, such as fast pulse
modulation, the ALC may not respond quickly enough to compensate for the pulse rise times. In this
case you can set the attenuator and override any ALC adjustments.
The output power is the ALC level minus the attenuator setting. The attenuator is set in increments
of 5 dB.
Example
:POW:ATT 10DB
The preceding example sets the attenuator to 10 dB.
*RST +115
Range 0 to 115 dB
52Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
This command enables or disables the power search protection function. The power search protection
function sets the attenuator to its maximum level whenever a power search is initiated. This can be
used to protect devices that are sensitive to high average power or high power changes. The trade off
on using the power protection function is decreased attenuator life, as the attenuator will switch to
its maximum setting during a power search.
NOTEContinual or excessive use of the power search protection function can decrease attenuator
ON (1) Causes the attenuator to switch to and hold its maximum level setting during a
OFF (0) Sets the attenuator normal mode. The attenuator is not used during power search.
Example
:POW:PROT ON
The preceding example enables the power inhibit function.
*RST 0
Key Entr y RF During Power Search Normal Minimum
54Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
*RST –1.10000000E+002 (Standard) or −1.44000000E+002 (with Option 1EQ)
RangeFrequencyN5181A with
<250 kHz−250 GHz−110 to 10 dBm−110 to 10 dBm<−144 to 10 dBm
>250 kHz−1 GHz −110 to 18 dBm−110 to 18 dBm<−144 to 18 dBm
>1−3 GHz−110 to 16 dBm−110 to 16 dBm<−144 to 16 dBm
>3−4 GHz−110 to 16 dBm−110 to 16 dBm<−144 to 16 dBm
>4−6 GHz−110 to 4 dBm−110 to 4 dBm<−144 to 4 dBm
a.Settable, but specified to –127 dBm with Option 1EQ.
Option 501, 503 and 506
Key Entr y Amplitude
Remarks The ranges for this command are specified values from the data sheet.
N5182A with
Option 503 and Option 506
N5181A/82A
with Option 1EQ
a
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference57
Basic Function Commands
Tsweep Subsystem ([:S OU Rce])
Tsweep Subsystem ([:SOURce])
:TSWeep
Supported All Models
[:SOURce]:TSWeep
This command aborts the current sweep, then either arms or arms and starts a single list, depending
on the trigger type.
The command performs the following:
• arms a single sweep when BUS, EXTernal, or Trigger KEY is the trigger source selection
• arms and starts a single sweep when IMMediate is the trigger source selection
Key Entr ySingle Sweep
58Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
3System Commands
This chapter provides SCPI descriptions for subsystems dedicated to peripheral signal generator
operations common to all Agilent MXG models. This chapter contains the following major sections:
• “Calibration Subsystem (:CALibration)” on page 60
• “Communication Subsystem (:SYSTem:COMMunicate)” on page 63
• “Diagnostic Subsystem (:DIAGnostic[:CPU]:INFOrmation)” on page 68
• “Display Subsystem (:DISPlay)” on page 71
• “IEEE 488.2 Common Commands” on page 74
• “Memory Subsystem (:MEMory)” on page 79
• “Output Subsystem (:OUTPut)” on page 89
• “Route Subsystem (:ROUTe)” on page 91
• “Status Subsystem (:STATus)” on page 92
• “System Subsystem (:SYSTem)” on page 100
• “Trigger Subsystem” on page 115
• “Unit Subsystem (:UNIT)” on page 114
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference59
System Commands
Calibration Subsystem (:CALibration)
Calibration Subsystem (:CALibration)
:DCFM
Supported All
:CALibration:DCFM
This command initiates a DCFM or DCΦM calibration depending on the currently active modulation.
This calibration eliminates any dc or modulation offset of the carrier signal.
NOTEIf the calibration is performed with a dc signal applied, any deviation provided by the dc
Key Entr y DCFM/DCFM Cal
Remarks Use this calibration for externally applied signals. While the calibration can also
signal will be removed and the new zero reference point will be at the applied dc level. The
calibration will have to be performed again when the dc signal is disconnected to reset the
carrier signal to the correct zero reference.
be performed for internally generated signals, dc offset is not a normal
characteristic for them.
:IQ:DC
Supported N5182A
:CALibration:IQ:DC
This command performs a one to two second adjustment that is not traceable to a standard. However,
it will minimize errors associated with IQ gain, quadrature, and offset voltages. This adjustment
minimizes errors for the current signal generator setting and at a single frequency. The DC
adjustment is volatile and must be repeated with each signal generator setting change. This command
can be sent while the RF On/Off is set to Off and the adjustment will still be valid when the RF is
enabled. IQ must be on to perform this adjustment.
The I/Q DC adjustment is dependent upon a number of instrument settings. If any of the instrument
settings change, the adjustment will become invalid. The dependent instrument settings are:
• I/Q calibration (the I/Q DC calibration will be invalidated if any other I/Q calibration is executed
or if the Revert to Factory Default key is pressed)
• Temperature (±5 degrees)
The following instrument states will not invalidate the I/Q DC calibration:
60Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
Calibration Subsystem (:CALibration)
• Power level changes
•I/Q Impairments
Key Entr y Execute Cal (with Calibration Type User Full set to DC)
System Commands
:IQ:DEFault
Supported N5182A
:CALibration:IQ:DEFault
This command will restore the original factory calibration data for the internal I/Q modulator.
Key Entr y Revert to Default Cal Setting s
:IQ:FULL
Supported N5182A
:CALibration:IQ:FULL
This command performs an adjustment to the I/Q offset, gain and quadrature for the full-frequency
range (regardless of the start and stop frequency settings) and stores the results in the signal
generator’s firmware.
Key Entr y Execute Cal (with Calibration Type User Full set to Full)
Remarks Start and stop frequencies will default to the full frequency range of the signal
Remarks The setting enabled by this command is not affected by signal generator power-on,
preset, or *RST.
:IQ:[:USER]
Supported N5182A
:CALibration:IQ[:USER]
This command performs a IQ calibration according to the IQ calibration type. For information on
selecting the type of IQ calibration, refer to “:IQ:TYPE” on page 62.
Key Entr y Execute Cal
62Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
Communication Subsystem (:SYSTem:COMMunicate)
Communication Subsystem (:SYSTem:COMMunicate)
System Commands
NOTEThe settings enabled by the LAN commands are not affected by signal generator power-on,
NOTEThe SCPI query for the LAN setup returns the last power on state setting, which may or may
This command sets the signal generator’s internet protocol (IP) address.
MANual The user assigns an IP address to the signal generator.
DHCP The network assigns an IP address to the signal generator.
AUTO The network assigns an IP address to the signal generator with a fallback to
Example
:SYST:COMM:LAN:CONF DHCP
The preceding example sets up the signal generator LAN configuration to use a DHCP IP address.
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference63
not be the currently displayed setting.
Auto- IP if DHCP fails. If both DHCP and Auto- IP fail, manual configuration will
be used.
System Commands
Communication Subsystem (:SYSTem:COMMunicate)
Key Entr y LAN Config
Remarks The SCPI query returns the current setting, not the saved setting.
This command enables you to override the DNS server that is returned by the DHCP server. The LAN
configuration type must be set to Auto or DHCP to use this feature.
Key Entr y DNS Server Override Off On
Remarks The SCPI query returns the current setting, not the saved setting.
If DNS Service Override is set to On, the DNS server setting defined with the DNS
Server softkey is used.
If DNS Service Override is set to Off, the setting returned by the DHCP Server is
used.
:LAN:DNS[:SERVer]
Supported All
:SYSTem:COMMunicate:LAN:DNS[:SERVer] <ipstring>
This command defines the IP address of the signal generator DNS server.
64Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
Communication Subsystem (:SYSTem:COMMunicate)
This entry defines the DNS server for the signal generator LAN connection.
Key Entr y DNS Server
Remarks The SCPI query returns the current setting, not the saved setting.
This command sets the signal generator’s local area network (LAN) connection hostname.
Key Entr y Hostname
Remarks The SCPI query returns the current setting, not the saved setting.
:LAN:IDENtify
Supported All
:SYSTem:COMMunicate:LAN:IDENtify ON|OFF|1|0
This command controls the LAN identify feature.
ON(1)The command enables device identification by displaying the full- screen message
"Identify: <IP Address>" on the signal generator's front panel; the LAN Status
indicator will also show "IDENTIFY". For more information, refer to the
Programming Guide.
OFF(0)This command disables device identification by clearing the message on the signal
generator's front panel and returning the LAN Status indicator to display the
current network state. For more information, refer to the Programming Guide.
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference65
System Commands
Communication Subsystem (:SYSTem:COMMunicate)
This query returns the cumulative number of times that the attenuator has been switched.
Key Entr y Diagnostic Info
:CCOunt:PON
Supported All
:DIAGnostic[:CPU]:INFormation:CCOunt:PON?
This query returns the cumulative number of times the signal generator has been powered-on.
Key Entr y Diagnostic Info
:CCOunt:PROTection
Supported All
:DIAGnostic[:CPU]:INFormation:CCOunt:PROTection?
This query returns the cumulative number of times the reverse power protection has been cycled.
Key Entr y Diagnostic Info
:DISPlay:OTIMe
Supported All Models
:DIAGnostic[:CPU]:INFormation:DISPlay:OTIMe?
This query returns the cumulative number of hours the display has been on.
Key Entr y Diagnostic Info
:LICense:AUXiliary
Supported All Models
:DIAGnostic[:CPU]:INFormation:LICense:AUXiliary?
This query returns a list of licenses for software applications associated with the signal generator
that have the software license file installed on the PC, as opposed to a license key installed on the
signal generator. However this query does not return demo licenses for Arb-based applications.
Key Entr y Auxiliary Software Options
68Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
RemarksIf you use the signal generator with a PC that has a copy of a software
application for which a license shows with this query, the software automatically
accesses and installs the license on the PC.
To access Arb-based demo software licenses, see :LICense:WAVeform. To view
option numbers for software applications that use license keys, see “:OPTions” on
page 69.
:LICense:WAVeform
Supported All Models
:DIAGnostic[:CPU]:INFormation:LICense:WAVeform?
This query returns a list of Arb-based licenses (including demo) for software applications associated
with the signal generator that have the software license file installed on the PC, as opposed to a
license key installed on the signal generator. These waveform licenses are created by the software
application in a license file on the PC. Refer to “:WLICence[:VALue]” on page 70 for more
information.
The response format is a series of comma-separated entries enclosed in quotation marks. The first
field is the waveform type number and the second is a text description of the license.
Key Entr y Wavef orm Licenses
Remarks If a license appears in this list, this means that you can transfer waveform files,
created with the associated Arb- based software application to another signal
generator if the other signal generator has the same license. For more information,
refer to the command, “:LICense:AUXiliary” on page 68.
For a list of option numbers for software applications that use license keys, see
“:OPTions”.
:OPTions
Supported All Models
:DIAGnostic[:CPU]:INFormation:OPTions?
This query returns a comma- separated list of internally installed signal generator options.
Key Entr y Instrument Options
:OPTions:DETail
Supported All Models
:DIAgnostic[:CPU]:INFormation:OPTions:DETail?
This query returns the options that are installed along with the option revision and DSP version if
applicable.
Key Entr y Options Info
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference69
System Commands
Diagnostic Subsystem (:DIAGnostic[:CPU]:INFOrmation)
:OTIMe
Supported All Models
:DIAGnostic[:CPU]:INFormation:OTIMe?
This query returns the cumulative number of hours that the signal generator has been on.
Key Entr y Diagnostic Info
:REVision
Supported All Models
:DIAGnostic[:CPU]:INFormation:REVision?
This query returns the CPU bootstrap read only memory (boot ROM) revision date. In addition, the
query returns the revision, creation date, and creation time of the main firmware.
Key Entr y Diagnostic Info
:SDATe
Supported All Models
:DIAGnostic[:CPU]:INFormation:SDATe?
This query returns the date and time of the firmware revision.
This query returns the number of seconds remaining on the waveform license for the type of
waveform designated by the <type_num> variable number. The type variable number is obtained using
the :LICense:WAVeform command shown on page 69. Zero is returned for non- existent and expired
licenses. The value 2^32 - 1 (4,294,967,295) is returned for licenses that do not expire.
70Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
This command sets the displayed front panel amplitude units.
If the amplitude reference state is set to on, the query returns units expressed in dB. Setting any
other unit will cause a setting conflict error stating that the amplitude reference state must be set to
off. Refer to, “:REFerence:STATe” on page 55 for more information.
This command enables or disables the digital clock view in the lower right side of the front panel
display.
RemarksThe setting enabled by this command is not affected by signal generator power-on,
preset, or *RST.
:BRIGhtness
Supported All Models
:DISPlay:BRIGhtness <value>
:DISPlay:BRIGhtness?
This command sets the display brightness (intensity). The brightness can be set to the minimum level
(0.02), maximum level (1), or in between by using fractional numeric values (0.03–0.99).
Range 0.02–1
Key Entr y Brightness
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference71
System Commands
Display Subsystem (:DISPl ay )
RemarksThe setting enabled by this command is not affected by signal generator power-on,
preset, or *RST.
:CAPTure
Supported All Models
:DISPlay:CAPTure
This event command enables the user to capture the current display and store it in the signal
generator’s memory.
RemarksThe display capture is stored as DISPLAY.BMP in the Binary file system. This file
is overwritten with each subsequent display capture. The file can be down- loaded
in the following manner:
1. Log on to the signal generator using ftp.
2. Change (cd) to the BIN directory.
3. Retrieve the file by using the get command or by using the :MEM:DATA query
on page 81.
This command selects the color palette for the instrument display.
Key E nt ryBr ight ColorDark ColorMonochrome
Remarks The setting enabled by this command is not affected by signal generator power-on,
preset, or *RST.
:CONTrast
Supported All Models
:DISPlay:CONTrast <value>
:DISPlay:CONTrast?
This command sets the contrast of the LCD display. The contrast can be set to the maximum level
(1), minimum level (0), or in between by using fractional numeric values (0.001–0.999).
Range 0–1
Key Entr y Display contrast hardkeys are located below the display.
Remarks The setting enabled by this command is not affected by signal generator power-on,
preset, or *RST.
72Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
Display Subsystem (:DISPlay)
System Commands
:REMote
Supported All Models
:DISPlay:REMote ON|OFF|1|0
:DISPlay:REMote?
This command enables or disables the display updating when the signal generator is remotely
controlled.
ON (1) This choice updates the signal generator display (Text Area) so you can see the
OFF (0) This choice turns off the display (Text Area) updating while further optimizing the
Key Entr y Update in Remote Off On
Remarks The setting enabled by this command is not affected by signal generator preset or
settings as the commands are executed, however, this will degrade the signal
generator speed. Frequency Area, Amplitude Area, and status LEDs continue to
update. For more information on the front panel display description, refer to the
User’s Guide.
signal generator for speed. No Text Area updates occur but the Frequency Area,
Amplitude Area, and status LEDs continue to update. For more information on the
front panel display description, refer to the User’s Guide.
*RST. However, cycling the signal generator power will reset it to zero.
This command is used to either blank out (OFF or 0) the display screen or turn it on (ON or 1).
Remarks*RST and presetting the signal generator or cycling the power will turn the display
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference73
on.
System Commands
IEEE 488.2 Common Commands
IEEE 488.2 Common Commands
*CLS
Supported All Models
*CLS
The Clear Status (CLS) command clears the status byte by emptying the error queue and clearing all
the event registers including the Data Questionable Event Register, the Standard Event Status
Register, the Standard Operation Status Register and any other registers that are summarized in the
status byte.
*ESE
Supported All Models
*ESE <data>
The Standard Event Status Enable (ESE) command sets the Standard Event Status Enable Register.
The variable <data> represents the sum of the bits that will be enabled.
Range 0–255
Remarks The setting enabled by this command is not affected by signal generator preset or
*RST. However, cycling the signal generator power will reset this register to zero.
Refer to the Programming Guide for more information.
*ESE?
Supported All Models
*ESE?
The Standard Event Status Enable (ESE) query returns the value of the Standard Event Status
Enable Register.
RemarksRefer to the Programming Guide for more information.
74Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
*ESR?
Supported All Models
IEEE 488.2 Common Commands
System Commands
CAUTIONThis is a destructive read. The data in the register is latched until it is queried. Once
*ESR?
The Standard Event Status Register (ESR) query returns the value of the Standard Event Status
Register.
RemarksRefer to the Programming Guide for more information.
queried, the data is cleared.
*IDN?
Supported All Models
*IDN?
The Identification (IDN) query outputs an identifying string. The response will show the following
information:
Remarks The identification information can be modified. Refer to :SYST:IDN on page 103
for more information.
*OPC
Supported All Models
*OPC
The Operation Complete (OPC) command sets bit 0 in the Standard Event Status Register when all
pending operations have finished.
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference75
System Commands
IEEE 488.2 Common Commands
*OPC?
Supported All Models
*OPC?
The Operation Complete (OPC) query returns the ASCII character 1 in the Standard Event Status
Register when all pending operations have finished.
This query stops any new commands from being processed until the current processing is complete.
*OPT?
Supported All Models
*OPT?
The options (OPT) query returns a comma- separated list of all of the instrument options currently
installed on the signal generator.
Key Entr y Instrument Options
*PSC
Supported
*PSC ON|OFF|1|0
The Power-On Status Clear (PSC) command controls the automatic power- on clearing of the Service
Request Enable Register, the Standard Event Status Enable Register, and device- specific event enable
registers.
ON (1) This choice enables the power- on clearing of the listed registers.
OFF (0) This choice disables the clearing of the listed registers and they retain their status
RemarksThe setting enabled by this command is not affected by signal generator power-on,
when a power- on condition occurs.
preset, or *RST.
*PSC?
Supported All Models
*PSC?
The Power-On Status Clear (PSC) query returns the flag setting as enabled by the *PSC command.
*RCL
Supported All Models
*RCL <reg>,<seq>
The Recall (RCL) command recalls the state from the specified memory register <reg> of the specified
sequence <seq>.
RangeRegisters: 0–99Sequences: 0–9
76Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
IEEE 488.2 Common Commands
Key E nt ryRECALL RegSelect Seq:
System Commands
*RST
Supported All Models
*RST
The Reset (RST) command resets most signal generator functions to factory-defined conditions.
RemarksEach command shows the *RST value if the setting is affected.
The settings enabled by this command is not affected by a signal generator
power- on, preset, or *RST.
*RST uses the factory preset state which is better for automated testing, for
example sweep mode is set to single.
For a comparison of the SCPI preset commands, refer to Table 3- 1, “Preset SCPI
Commands Overview,” on page 106.
*SAV
Supported All Models
*SAV <reg>,<seq>
The Save (SAV) command saves signal generator settings to the specified memory register <reg> of
the specified sequence <seq>.
RangeRegisters: 0–99Sequences: 0–9
Key E nt rySave RegSave Seq[n] Reg[nn]
Remarks The save function does not save all signal generator settings. Refer to the
N5181A/82A Agilent MXG Signal Generators User’s Guide for more information
on the save function. Refer to “*RCL” on page 76 for information on recalling
saved signal generator settings.
*SRE
Supported All Models
*SRE <data>
The Service Request Enable (SRE) command sets the value of the Service Request Enable Register.
The variable <data> is the decimal sum of the bits that will be enabled. Bit 6 (value 64) is ignored
and cannot be set by this command.
Range 0–255
Remarks Refer to the Programming Guide for more information.
Entering values from 64 to 127 is equivalent to entering values from 0 to 63.
The setting enabled by this command is not affected by signal generator preset or
*RST. However, cycling the signal generator power will reset it to zero.
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference77
System Commands
IEEE 488.2 Common Commands
*SRE?
Supported All Models
*SRE?
The Service Request Enable (SRE) query returns the value of the Service Request Enable Register.
Range 0–63 or 128–191
Remarks Refer to the Programming Guide for more information.
*STB?
Supported All Models
*STB?
The Read Status Byte (STB) query returns the value of the status byte including the master summary
status (MSS) bit.
Range 0–255
Remarks Refer to the Programming Guide for more information.
*TRG
Supported All Models
*TRG
The Trigger (TRG) command triggers the device if BUS is the selected trigger source, otherwise, *TRG
is ignored.
*TST?
Supported All Models
*TST?
The Self- Test (TST) query initiates the internal self- test and returns one of the following results:
0 This shows that all tests passed.
1 This shows that one or more tests failed.
Key Entr y Run Complete Self Test
*WAI
Supported All Models
*WAI
The Wait-to- Continue (WAI) command causes the signal generator to wait until all pending
commands are completed, before executing any other commands.
78Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
Memory Subsystem (:MEMory)
System Commands
Memory Subsystem (:MEMory)
:CATalog:BINary?
Supported N5182A with Option 651/652/654
:MEMory:CATalog:BINary?
This query outputs a list of the binary files. The return data will be in the following form:
<mem used>,<mem free>{,"<file listing>"}
The signal generator will return the two memory usage parameters and as many file listings as there
are files in the directory list. Each file listing parameter will be in the following form:
"<file name>,<file type>,<file size>"
Example Output
1818624,519962624,"GEN_FILE11,BIN,5"
Key Entr y Binary
Remarks Refer to “File Name Variables” on page 12 for information on the file name syntax.
:CATalog:LIST?
Supported All Models
:MEMory:CATalog:LIST?
This query outputs a list of the list sweep files. The return data will be in the following form:
<mem used>,<mem free>{,"<file listing>"}
The signal generator will return the two memory usage parameters and as many file listings as there
are files in the directory list. Each file listing parameter will be in the following form:
Remarks Refer to “File Name Variables” on page 12 for information on the file name syntax.
:CATalog:STATe?
Supported All Models
:MEMory:CATalog:STATe?
This query outputs a list of the state files. The return data will be in the following form:
<mem used>,<mem free>{,"<file listing>"}
The signal generator will return the two memory usage parameters and as many file listings as there
are files in the directory list. Each file listing parameter will be in the following form:
"<file name,file type,file size>"
Example Output
1818624,519962624,"0_00,STAT,641"
Key Entr y State
Remarks Refer to “File Name Variables” on page 12 for information on the file name syntax.
The :MEM:CAT:STAT command requires the use of registry number and sequence
number variables. The ranges are 0- 99 for <reg_num> and 0- 9 for <seq_num>.
:CATalog:UFLT?
Supported All Models
:MEMory:CATalog:UFLT?
This query outputs a list of the user- flatness correction files. The return data will be in the following
form:
<mem used>,<mem free>{,"<file listing>"}
The signal generator will return the two memory usage parameters and as many file listings as there
are files in the directory list. Each file listing parameter will be in the following form:
Remarks Refer to “File Name Variables” on page 12 for information on the file name syntax.
80Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
Memory Subsystem (:MEMory)
System Commands
:CATalog[:ALL]?
Supported All Models
:MEMory:CATalog[:ALL]?
This query outputs a list of all the files in the memory subsystem. However it does not include files
stored on the Option 651/652/654 baseband generator. The return data will be in the following form:
<mem used>,<mem free>{,"<file listing>"}
The signal generator will return the two memory usage parameters and as many file listings as there
are files in the memory subsystem. Each file listing parameter will be in the following form:
Remarks Refer to the Table 1- 4 on page 14 for a listing of the file types and the table on
page 15 for information on the "<file name>" syntax.
:COPY[:NAME]
Supported All Models
:MEMory:COPY[:NAME] "<file name>","<file name>"
This command makes a duplicate of the requested file.
Key Entr y Copy File
Remarks Refer to “File Name Variables” on page 12 for information on the file name syntax.
When copying a waveform file from volatile to non- volatile memory, the marker
file and file header, associated with the waveform file, will automatically be copied
at the same time.
This command loads data into signal generator memory using the <data_block> parameter and saves
the data to a file designated by the "<file_name>" variable. The query returns the file contents of the
file as a datablock.
A waveform file must be located in volatile waveform memory (WFM1) before it can be played by the
signal generator’s dual ARB player.
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference81
System Commands
Memory Subsystem (:ME Mory)
For downloads directly into volatile waveform memory use the path "WFM1:<file_name>". For
downloads to non-volatile waveform memory, use the path "NVWFM:<file_name>".
"<file_name>" This variable names the destination file, including the directory path.
<data_block> This parameter represents the data and file length parameters. The data in the file
is represented by the <data_block> variable.
Refer to the Programming Guide for more information on programming the status registers.
Example
:MEM:DATA "NVWFM:IQ_Data",#210Qaz37pY9oL
The preceding example downloads 10 bytes of data to a file, IQ_Data, in the signal generator’s
non- volatile memory. The table shown below describes the command parameters.
"NVWFM:IQ_Data"
•
• #210Qaz37pY9oL
#This character indicates the beginning of the data block
2Number of digits in the byte count
10Byte count
Qaz37pY9oL10 bytes of data
IQ_Data is the file name. The director y path is not needed. The
path "/USER/WAVEFORM/" is implied.
Data block
NOTEThe data, Qaz37pY9oL, in the above command are not valid and are shown for example
purposes only. Typically, ascii characters representing data are unprintable.
RemarksSee “File Name Variables” on page 12 for information on the file name syntax.
:DATA:APPend
Supported All Models
:APPend "<file_name>",<data_block>
This commands appends data to an existing file stored in signal generator memory.
"<file_name>" This variable names the destination file and directory path.
<data_block> This parameter represents the data and file length parameters. The data in the file
is represented by the <data_block> variable. The file length parameters are used
by the signal generator for allocating memory.
Refer to the Programming Guide for more information on downloading and using files.
Example
:MEM:DATA:APPend "NVWFM:IQ_Data",#14Y9oL
The preceding example downloads and appends the data, Y9oL, to an existing file named IQ_Data
82Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
stored in the signal generator’s non-volatile memory (NVWFM).
Memory Subsystem (:MEMory)
System Commands
"NVWFM:IQ_Data"
•
• #14Y9oL
#This character indicates the beginning of the data block
1Number of digits in the byte count
4Byte count
Y9oL4 bytes of data
IQ_Data the file name. The directory path is not needed. The path
"/USER/WAVEFORM/" is implied.
Data block
RemarksRefer to “File Name Variables” on page 12 for information on the file name syntax.
:DELete:ALL
Supported All Models
CAUTIONUsing this command deletes all non- volatile user files including binary, list, state, and
flatness correction files, and any saved setups which use the front panel table editor.
However, this does not include files stored on the Option 651/652/654 ARB generator.
You cannot recover the files after executing this command.
:MEMory:DELete:ALL
This command clears the file system of all non- volatile user files.
Key Entr y Delete All Files
:DELete:BINary
Supported N5182A with Option 651/652/654
:MEMory:DELete:BINary
This command deletes all binary files.
Key Entr y Delete All Binary Files
:DELete:LIST
Supported All Models
:MEMory:DELete:LIST
This command deletes all List files.
Key Entr y Delete All List Files
:DELete:SEQ
Supported N5182A with Option 651/652/654
Agilent N5181A/82A MXG Signal Generators SCPI Command Reference83
System Commands
Memory Subsystem (:ME Mory)
:MEMory:DELete:SEQ
This command deletes all sequence files.
Key Entr y Delete All Sequence Files
:DELete:STATe
Supported All Models
:MEMory:DELete:STATe
This command deletes all state files.
Key Entr y Delete All Models State Files
:DELete:UFLT
Supported All Models
:MEMory:DELete:UFLT
This command deletes all user-flatness correction files.
Key Entr y Delete All UFLT Files
:DELete[:NAME]
Supported All Models
:MEMory:DELete[:NAME] "<file name>"
This command clears the user file system of "<file name>".
Key Entr y Delete File
Remarks Refer to “File Name Variables” on page 12 for information on the file name syntax.
When deleting a waveform (WFM1) file from memory, the marker file and file
header, associated with the waveform file, will also be deleted.
:FREE[:ALL]
Supported All Models
:MEMory:FREE[:ALL]?
This command returns the number of bytes left in the non- volatile user file system.
Key Entr y All
:LOAD:LIST
Supported All Models
:MEMory:LOAD:LIST "<file name>"
84Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.