5-6
SCPI Parameter
Type
The SCPI language defines four different data formats to be used in
program messages and response messages: numeric, discrete,
boolean, and arbitrary block.
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 suffices 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 allowed 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
lowercase letters can be mixed. Query responses always return the
short form in all uppercase 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 }
Arbitrary Block
Parameters
Arbitrary block parameters are used for loading waveforms into the
generator's memory. Depending on which option is installed, the
Model 2074 can accept binary blocks up to 1M bytes. The following
command uses an arbitrary block parameter that is loaded as
binary data:
TRAC:DATA#564000<binary_block>
Summary of Contents for 5064
Page 26: ...1 5 Figure 1 2 ArbConnection The Control Panels Figure 1 3 ArbConnection The Wave Composer...
Page 71: ...2074 User Manual 2 18 This page intentionally left blank...
Page 145: ...2074 User Manual 3 74 Figure 3 48 Reading the 2074 Internal Temperature...
Page 220: ...4 ArbConnection Logging SCPI Commands 4 75 Figure 4 58 Log File Example...
Page 221: ...2074 User Manual 4 76 This page was intentionally left blank...
Page 333: ...2074 User Manual 7 2...
Page 359: ...2074 User Manual 7 28 This page was intentionally left blank...
Page 360: ...Appendices Appendix Title Page A Specifications A 1 1...
Page 361: ...2074 User Manual 2...