Numeric Parameters; Discrete Parameters; Boolean Parameters; Scpi Syntax And Styles - Racal Instruments 3155 User Manual

100ms/s arbitrary waveform generator
Table of Contents

Advertisement

Numeric Parameters

Discrete Parameters

Boolean Parameters

SCPI Syntax and
Styles
Programming Reference 4-16
Commands that require numeric parameters accept all commonly
used decimal representations of numbers including optional signs,
decimal points, and scientific notation. Special values for numeric pa-
rameters like MINimum and MAXimum are also accepted.
Engineering unit suffices with numeric parameters (e.g., MHz or kHz)
can also be sent. If only specific numeric values are accepted, the
function generator ignores values which are not allowed and gener-
ates an error message. The following command is an example of a
command that uses a numeric parameter:
VOLT:AMPL <amplitude>
Discrete parameters are used to program settings that have a limited
number of values (i.e., FIXed, USER and SEQuence). They have
short and long form command keywords. Upper and lowercase let-
ters can be mixed. Query responses always return the short form in
all uppercase letters. The following command uses discrete pa-
rameters:
SOUR:FUNC:MODE {FIXed | USER | SEQuence}
Boolean parameters represent a single binary condition that is either
true or false. The generator accepts "OFF" or "0" for a false condi-
tion. The generator accepts "ON" or "1" for a true condition. The in-
strument always returns "0" or "1" when a boolean setting is queried.
The following command uses a boolean parameter:
OUTP:FILT { OFF | ON }
The same command can also be written as follows:
OUTP:FILT {0 | 1 }
Where possible the syntax and styles used in this section follow
those defined by the SCPI consortium. The commands on the fol-
lowing pages are broken into three columns; the KEYWORD, the
PARAMETER FORM, and any NOTES.
The KEYWORD column provides the name of the command. The
actual command consists of one or more keywords since SCPI
commands are based on a hierarchical structure, also known as the
tree system. Square brackets ( [ ] ) are used to enclose a keyword
that is optional when programming the command; that is, the 3155
processes the command to have the same effect whether the o p-
tional node is omitted by the programmer or not. Letter case in tables
User Manual 3155

Advertisement

Table of Contents
loading

Table of Contents