SCPI Command Reference 4-4
IEEE-STD-488.2
Common
Commands
The IEEE-STD-488.2 standard defines a set of common
commands that perform functions like reset, trigger and status
operations. Common commands begin with an asterisk ( * ), are
four to five characters in length, and may include one or more
parameters. The command keyword is separated from the first
parameter by a blank space. Use a semicolon ( ; ) to separate
multiple commands as shown below:
*RST; *STB?; *IDN?
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
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 synthesizer accepts "OFF" or "0" for a
false condition. The synthesizer 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 }
Содержание 3152
Страница 16: ...Getting Started 1 7 Figure 1 1 Segment 1 Sin x x Waveform Figure 1 2 Segment 2 Sine Waveform...
Страница 25: ...Configuring The Instrument 2 6 This page was intentionally left blank...
Страница 63: ...Using The Instrument 3 38 This page was intentionally left blank...
Страница 80: ...SCPI Command Reference 4 17 Figure 4 1 SCPI Status Registers...
Страница 121: ...Specifications A 12 This page was intentionally left blank...