134
Chapter 5 Remote Interface Reference
Scanning Commands
5
Scan Configuration Commands
These command set the arm and trigger layer parameters. See “The Scan
Process” on page 86 for a complete description of the layers and scan
configuration process.
ARM
:SOURce <BUS|EXTernal|IMMediate|TIMer|MIX|HOLD>
:SOURce?
This command specifies the event control source for the arm layer. A
complete description of the arm layer and how it relates to scanning
begins on page 85. The ARM source can be specified to be one of the
following:
•
BUS - the sweep of the scan list starts after a *TRG or GET is received.
•
EXTernal - the sweep of scan list starts after an external trigger is
received.
•
IMMediate - the sweep of scan starts immediately after INITiate
(or the end of a scan if multiple scans are specified).
•
TIMer - the sweep of the scan list starts after the timer interval.
•
MIX - the scan will continue after a BUS or EXTernal event occurs.
•
HOLD - the sweep of the scan list starts when a
TRIGger[:IMMediate] command is received.
After the power is applied or a reset (*RST) command is received, the
default ARM source is IMMediate.
The ARM:SOURce? query returns a string. Possible values retuned
include: BUS, EXTernal, IMMediate, TIMer, MIX, or HOLD.
ARM
:COUNt <number>|MIN|MAX|INFinity
:COUNt? [MIN|MAX|INFinity]
This command sets the number of times the scan list is performed. MIN
specifies a single sweep, MAX specifies 99,999 sweeps, and INF continues
sweeping the scan list indefinitely (until an ABORt command is received).
Following power on or a reset (*RST) command, the ARM:COUNt is set to
1 (MIN).
The ARM:COUNt? query returns the number of scanning cycles set by
ARM:COUNt. The optional parameters MIN and MAX allow you to query
the module for these values instead of looking them up in the command
reference. MIN returns “1”, MAX returns “99999”, and INF returns “-1”.