DSPEC
®
Digital Gamma-Ray Spectrometer
34
SET_GAIN_CONVERSION
chans
Sets the conversion gain. The conversion gain defines the number of channels within the
device that will used for spectral data. This has the effect of altering the resolution of the
ADC from 14 bits (conversion gain = 16384) to 9 bits (conversion gain = 512) for the device.
See also SHOW_GAIN_CONVERSION.
Legal Commands:
SET_GAIN_CONVERSION 0<CR>
Conv. gain set to default (16384).
SET_GAIN_CONVERSION 512<CR>
Conv. gain set to 512 channels.
SET_GAIN_CONVERSION 1024<CR>
Conv. gain set to 1024 channels.
SET_GAIN_CONVERSION 2048<CR>
Conv. gain set to 2048 channels.
SET_GAIN_CONVERSION 4096<CR>
Conv. gain set to 4096 channels.
SET_GAIN_CONVERSION 8192<CR>
Conv. gain set to 8192 channels.
SET_GAIN_CONVERSION 16384<CR>
Conv. gain set to 16384 channels.
SET_GAIN_FINE
value
This sets the fine gain to value. Value is a floating point value from 0–0.999995. See also
SHOW_GAIN_FINE.
SET_GAIN_PRESET
count
Sets the Gauss mode stabilization preset for the gain peak. The preset represents the
minimum number of incremental counts that must be collected in any one channel of the gain
peak before the gain is evaluated by the stabilizer and potentially adjusted. See also
SHOW_GAIN_PRESET.
SET_GAIN_WIDTH
chans
Sets the width in channels for the stabilizer gain peak. The gain width must be chosen such
that the beginning channel is no lower than channel 0 and the ending channel is no higher
than the maximum channel as determined by the conversion gain. The gain channel and
width must be set before gain stabilization can be enabled. The absolute minimum width for
the gain peak is 3 channels, and the absolute maximum width for the gain peak is 256
channels in Gauss mode. In point mode there is no maximum peak width, though the chosen
width must allow the peak to fit within the device’s channel limits as stated above. See also
SHOW_GAIN_WIDTH, SET_GAIN_CHANNEL and SHOW_GAIN_CHANNEL.
Execution Errors:
%131128085<CR>
The specified number of channels would create a peak that was less
than the minimum (3 channel) width or would be outside the
device’s range.
%131136084<CR>
The command was attempted while gain stabilization was enabled.