SCPI Command Reference 4-3
A semicolon ( ; ) is used to separate commands within the same
subsystem, and can also minimize typing. For example, sending
the following command string:
TRIG:SOUR:ADV INT;BURS ON;INT:RATE 5e-3
is the same as sending the following three commands:
TRIG:SOUR:ADV INT
TRIG:BURS ON
TRIG:INT:RATE 5e-3
Use the colon and semicolon to link commands from different
subsystems. For example, in the following command string, an
error is generated if both the colon and the semicolon are not used.
OUTP:STATE ON;:TRIG:STAT ON
The MIN and MAX
Parameters
Substitute MINimum or MAXimum in place of a parameter for some
commands. For example, consider the following command:
FREQuency {<frequency>|MINimum|MAXimum}
Instead of selecting a specific frequency, substitute MIN to set the
frequency to its minimum value or MAX to set the frequency to its
maximum value.
Querying
Parameter Setting
Query the current value of most parameters by adding a question
mark ( ? ) to the command. For example, the following command
sets the output function to square:
SOUR:FUNC:SHAP SQR
Query the output function by executing:
SOUR:FUNC:SHAP?
Query Response
Format
The response to a query depends on the command sent to the
instrument to generate the query response. In general, a response
to a query contains current values or settings of the synthesizer.
Commands that set values can be queried about their current
value of the setting. Commands that set modes of operation can
be queried about their current mode setting. IEEE-STD-488.2
common queries generate responses which are common to all
instruments that are connected to the GPIB interface.
SCPI Command
Terminator
A command string sent to the function generator must terminate
with a <new line> character. The IEEE-STD-488 EOI (end-or-
identify) message is interpreted as a <new line> character. A
<carriage return> followed by a <new line> is also accepted.
Command string termination always resets the current SCPI
command path to the root level.
Summary of Contents for 3152
Page 16: ...Getting Started 1 7 Figure 1 1 Segment 1 Sin x x Waveform Figure 1 2 Segment 2 Sine Waveform...
Page 25: ...Configuring The Instrument 2 6 This page was intentionally left blank...
Page 63: ...Using The Instrument 3 38 This page was intentionally left blank...
Page 80: ...SCPI Command Reference 4 17 Figure 4 1 SCPI Status Registers...
Page 121: ...Specifications A 12 This page was intentionally left blank...