Chapter 2 65
Programming Fundamentals
SCPI Language Basics
<voltage> A voltage parameter is a rational number followed by
optional units. The default units are V. Acceptable units
include: Volts, V, MV, UV.
<power>
<ampl> A power parameter is a rational number followed by
optional units. The default units are dBm. Acceptable
units include: DBM, DBMV, W.
<rel_power>
<rel_ampl> A relative power parameter is a positive rational
number followed by optional units. The default units
are dB. Acceptable units include: DB.
<angle>
<degrees> An angle parameter is a rational number followed by
optional units. The default units are degrees.
Acceptable units include: DEG, RAD.
<integer> There are no units associated with an integer
parameter.
<percent> A percent parameter is a rational number between 1
and 99, with no units.
<string> A string parameter includes a series of alpha numeric
characters.
Block Program Data
Some parameters consist of a block of data. Block data There are a few
standard types of block data. Arbitrary blocks of program data can also
be used.
<trace> A trace parameter is an array of rational numbers
corresponding to displayed trace data. The default uses
“display units” with 600 trace points with amplitudes
from 0 to 1024. See FORMat:DATA for information
about available data formats.
A SCPI command often refers to a block of current trace
data with a variable name such as: Trace1, TRACE2, or
trace3, depending on which trace is being accessed.