3151 And 3151A User Manual
SCPI Command Reference 4-5
SCPI Parameter
Type
The SCPI language defines several different data formats to be used
in program messages and response messages.
Numeric Parameters
Commands that require numeric parameters will accept all commonly
used decimal representations of numbers including optional signs,
decimal points, and scientific notation. Special values for numeric
parameters like MINimum and MAXimum are also accepted.
Engineering unit suffixes with numeric parameters (e.g., MHz or kHz)
can also be sent. If only specific numeric values are accepted, the
function generator will ignore values which are not accepted and will
generate an error message. The following command is an example
of a command that uses a numeric parameter:
VOLT:AMPL <amplitude>
Discrete Parameters
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 lower case
letters can be mixed. Query responses always return the short form
in all upper case letters. The following command uses discrete
parameters:
SOUR:FUNC:MODE {FIXed | USER | SEQuence}
Boolean Parameters
Boolean parameters represent a single binary condition that is either
true or false. The generator accepts "OFF" or "0" for a false
condition. The generator accepts "ON" or "1" for a true condition.
The instrument 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 }
Summary of Contents for 3151
Page 4: ...This page was left intentionally blank...
Page 24: ...3151 And 3151A User Manual Getting Started 1 12 This page was left intentionally blank...
Page 29: ...3151 And 3151A User Manual Configuring The Instrument 2 5 Figure 2 1 Set The Logical Address...
Page 74: ...3151 And 3151A User Manual Using The Instrument 3 44 This page was left intentionally blank...
Page 98: ...3151 And 3151A User Manual SCPI Command Reference 4 24 This page was left intentionally blank...
Page 127: ...3151 And 3151A User Manual Optional Harness Assemblies 6 3...
Page 131: ...3151 And 3151A User Manual Optional Harness Assemblies 6 7...