4
Remote Programming Reference
Introduction to SCPI
4-5
is the same as sending the following three commands:
:TRIG:SLOP NEG
:TRIG:COUN 10
:TRIG:LEV
-1
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:BURS 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 format of the command. In
general, a response to a query contains current values or settings
of the generator. Commands that set values can be queried for their
current value. Commands that set modes of operation can be
queried for their current mode. IEEE-STD-488.2 common queries
generate responses, which are common to all IEEE-STD-488.2
compatible instruments.
SCPI Command
Terminator
A command string sent to the function generator must terminate
with a <new line> character. The IEEE-STD-488 EOI message is a
<new line> character. Command string termination always resets
the current SCPI command path to the root level.
IEEE-STD-488.2
Common
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
Summary of Contents for 5251
Page 17: ...List of Figures continued xiv...
Page 35: ...TE5251 User Manual 1 18 This page was intentionally left blank...
Page 37: ...TE5251 User Manual 2 2...
Page 134: ...TE5251 User Manual 3 82 Figure 3 62 Log File Example...
Page 222: ...TE5251 User Manual 4 88 This page was left intentionally blank...
Page 258: ...TE5251 User Manual 5 36 This page was intentionally left blank...
Page 288: ...TE5251 User Manual 6 30 This page was intentionally left blank...
Page 289: ...1 Appendices Appendix Title Page A Specifications A 1...
Page 290: ...TE5251 User Manual 2...