DSPEC 50
®
and DSPEC 502
®
Digital Gamma-Ray Spectrometer User’s Manual
932502G / 0618
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>
Conversion gain set to default (16384).
SET_GAIN_CONVERSION 512<CR>
Conversion gain set to 512 channels.
SET_GAIN_CONVERSION 1024<CR>
Conversion gain set to 1024 channels.
SET_GAIN_CONVERSION 2048<CR>
Conversion gain set to 2048 channels.
SET_GAIN_CONVERSION 4096<CR>
Conversion gain set to 4096 channels.
SET_GAIN_CONVERSION 8192<CR>
Conversion gain set to 8192 channels.
SET_GAIN_CONVERSION 16384<CR>
Conversion gain set to 16384 channels.
SET_GAIN_FINE
value
Sets the fine gain to value. Value is a floating point value from 0.5 to 1.1. See also SHOW_
GAIN_FINE.
SET_GAIN_NEGATIVE
Sets the amplifier input polarity to negative.
SET_GAIN_POSITIVE
Sets the amplifier input polarity to positive.
SET_GAIN_PRESET
count
No function in the DSPEC 50; included for backward compatibility.
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 chan-
nels 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.
Non-USB 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.
92