6. COMMANDS AND RESPONSES
25
In the following catalog, the commands are listed in alphabetical order, each starting with a
command prototype line. Upper-case letters, numeric digits, blank spaces, and special symbols
such as the underscore (
_
) and comma (
,
) in the prototype line are
literal text to be sent to the
MCB exactly as they appear
. Lower-case letters in the prototype line represent numeric values as
described in the accompanying text and should not be sent literally to the MCB but should be
replaced by an appropriate numeric value
. Lower-case letters enclosed in quotes represent
alphanumeric character strings
rather than numerical values. Items in the command prototype
that are surrounded by square brackets “[...]” are optional items and are not always required.
In this section the term
<CR>
represents the ASCII carriage return character, decimal value 13,
and the character “_” represents the ASCII underscore character, decimal value 95.
CLEAR
The channels of spectral data in the window of interest (see SET_WINDOW command) for
the currently selected device (see SET_DEVICE command) are set to zero. The live time and
true time counters for the currently selected device are also set to zero. This command is
equivalent to the combination of CLEAR_COUNTERS and CLEAR_DATA commands.
CLEAR_ALL
This command is equivalent to the combination of CLEAR_COUNTERS, CLEAR_DATA,
CLEAR_PRESETS, and CLEAR_ROI commands.
Execution Errors:
%131135083<CR>
The command was attempted while spectrum acquisition was in
progress. No action was taken.
CLEAR_COUNTERS
The live time and true time counters for the currently selected device (see SET_DEVICE
command) are set to zero.
CLEAR_DATA
The channels of spectral data in the window of interest (see SET_WINDOW command) for
the currently selected device (see SET_DEVICE command) are set to zero. The ROI flags are
not changed, nor are the presets changed.
CLEAR_PRESETS
The live time, true time, ROI integral, ROI peak, and overflow presets are all set to zero
(disabled) for the currently selected device (see SET_DEVICE command).
Execution Errors:
%131135083<CR>
The command was attempted while spectrum acquisition was in
progress. No action was taken.