Parameters In Commands; Variable Parameters - Keysight N9000A Manual

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

Advertisement

Parameters in Commands

There are four basic types of parameters: booleans, keywords, variables and arbitrary block program data.
Type
OFF|ON|0|1
(Boolean)
keyword
Units
Variable

Variable Parameters

Type
<integer>
<real>
<freq>
<bandwidth>
<time>
<seconds>
<voltage>
<current>
<power>
<ampl>
<rel_power>
<rel_ampl>
<percent>
<angle>
<degrees>
Description
This is a two state boolean-type parameter. The numeric value 0 is equivalent to OFF. Any numeric value other than 0 is
equivalent to ON. The numeric values of 0 or 1 are commonly used in the command instead of OFF or ON. Queries of the
parameter always return a numeric value of 0 or 1.
The keywords that are allowed for a particular command are defined in the command syntax description.
Numeric variables may include units. The valid units for a command depend on the variable type being used. See the
following variable descriptions. The indicated default units will be used if no units are sent. Units can follow the
numerical value with, or without, a space.
A variable can be entered in exponential format as well as standard numeric format. The appropriate range of the
variable and its optional units are defined in the command description.
The following keywords may also be used in commands, but not all commands allow keyword variables.
DEFault - resets the parameter to its default value.
UP - increments the parameter.
DOWN - decrements the parameter.
MINimum - sets the parameter to the smallest possible value.
MAXimum - sets the parameter to the largest possible value.
The numeric value for the function's MINimum, MAXimum, or DEFault can be queried by adding the keyword to the
command in its query form. The keyword must be entered following the question mark.
Example query: SENSE:FREQ:CENTER? MAX
Description
An integer value with no units.
A floating point number with no units.
A positive rational number followed by optional units. The default unit is Hertz. Acceptable units include: Hz, kHz, MHz,
GHz.
A rational number followed by optional units. The default units are seconds. Acceptable units include: ks, s, ms, s, ns.
A rational number followed by optional units. The default units are Volts. Acceptable units include: V, mV, V, nV
A rational number followed by optional units. The default units are Amperes. Acceptable units include: A, mA, A, nA.
A rational number followed by optional units. The default units are W. Acceptable units include: kW, W, mW, W, nW,
pW.
A rational number followed by optional units. The default units are dBm. Acceptable units include: dBm, dBmV, dBV.
A positive rational number followed by optional units. The default units are dB. Acceptable units include: dB.
A rational number between 0 and 100. You can either use no units or use PCT.
A rational number followed by optional units. The default units are degrees. Acceptable units include: DEG, RAD.
SCPI Programming Fundamentals
19
SCPI Language Basics

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

N9038aN9010aN9030aN9020a

Table of Contents