Command Separators
A
colon
(
:
) is used to separate a command keyword from a lower-level
keyword. You must insert a
blank space
to separate a parameter from a
command keyword. If a command requires more than one parameter,
you must separate adjacent parameters using a
comma
as shown below:
"CONF:VOLT:DC 10, 0.003"
A
semicolon
(
;
) is used to separate commands within the
same
subsystem, and can also minimize typing. For example, sending the
following command string:
"TRIG:DELAY 1; COUNT 10"
... is the same as sending the following two commands:
"TRIG:DELAY 1"
"TRIG:COUNT 10"
Use a colon
and
a semicolon to link commands from
different
subsystems.
For example, in the following command string, an error is generated if
you do not use both the colon
and
semicolon:
"SAMP:COUN 10;:TRIG:SOUR EXT"
Using the
MIN
and
MAX
Parameters
You can substitute
MINimum
or
MAXimum
in place of a parameter for
many commands. For example, consider the following command:
VOLTage:DC:RANGe {<
range
>|MINimum|MAXimum}
Instead of selecting a specific voltage range, you can substitute
MIN
to set the range to its minimum value or
MAX
to set the range to its
maximum value.
Chapter 4 Remote Interface Reference
An Introduction to the SCPI Language
156
Summary of Contents for 34401A
Page 12: ...1 Quick Start 1 ...
Page 26: ...2 Front Panel Menu Operation 2 ...
Page 50: ...3 Features and Functions 3 ...
Page 103: ...4 Remote Interface Reference 4 ...
Page 135: ...SCPI Status System 4 Chapter 4 Remote Interface Reference The SCPI Status Model 135 ...
Page 170: ...5 Error Messages 5 ...
Page 182: ...6 Application Programs 6 ...
Page 196: ...7 Measurement Tutorial 7 ...
Page 214: ...8 Specifications 8 ...