DSPEC
®
Digital Gamma-Ray Spectrometer
32
SET_DATA
[start, chans],value
If the optional start and chans parameters are included in this command, the range of
channels specified by start and chans is loaded with value. Sets all channels of spectral data
in the window of interest (see SET_WINDOW command) for the currently selected device
(see SET_DEVICE command) to the specified count. ROI flags are not affected.
SET_DATE
day,month,year
Sets the date stored in the battery backed-up system clock to the specified values. Day can be
any value from 1–31; month any value from 1–12; and year any value from 0–99. The
current date and time are stored for a device when an acquisition is started. See also
SHOW_DATE, SET_TIME, and SHOW_TIME.
SET_DATE_START
day,month,year
Sets the start date for the currently selected device (see SET_DEVICE command) to the
specified values. Normally the start date and time are set automatically whenever a device is
started with the START command. See also SHOW_DATE_START, SET_TIME_START,
and SHOW_TIME_START.
SET_DCREST value
This controls the speed of the analog DC restorer. The smaller the value, which must be
between 0 and 4095, the slower the DC restorer operates. The default setting, 2000, is
normally sufficient. See also SHOW_DCREST.
SET_DEBUG
level
Sets the debug level to level, which must be between 0 and 255. Setting level to a non-zero
value causes debugging information to be transmitted to the serial port. See also
SHOW_DEBUG.
SET_DELAY_COLLECTION
value
Controls the pile-up rejector by setting a width threshold such that if a fast channel
discriminator pulse is wider than value, the pulse is rejected. This portion of the pile-up
rejector rejects pulses that are too close together to be detected separately by the fast channel.
Value is in microseconds with a range from 0.250–1.6 in steps of 0.05. See also
SHOW_DELAY_COLLECTION.
SET_DELAY_SAMPLE
num
Delays the waveform collected in InSight mode by num points. Num must be between 0 and
65535. See also SHOW_DELAY_SAMPLE.