Cmd_set_stabilisation, Cmd_set_stab_param, Cmd_set_preamplifier_power – GBS Elektronik MCA-527 Firmware Commands User Manual
Page 17
Description of the MCA527 Firmware Commands
MCA Stabilization Commands:
Command name
CMD_SET_STABILISATION
Compatibility
Compatible to the MCA166 command.
Execution right
Necessary
Description
The command sets the peak stabilization.
fl:
0
turns stabilization off
1
stabilization to the current centroid within peak ROI
2
stabilization to the current centroid of the highest peak within the spectrum
rb+3<fl<re-3
stabilization to channel fl
Bit 15 = 0
use normal spectrum
Bit 15 = 1
use rejected spectrum (allowed only if gating mode is set to 'sort by state',
see CMD_SET_GATING)
rb:
Peak ROI begin (LLD<= begin < end)
re:
Peak ROI end (begin < end <= ULD, (end-begin) < 250)
Command syntax
Format
integer
integer
integer
integer
integer
integer
Parameter
preamble
command
fl
rb
re
end flag
Byte string (HEX)
A5
5A
4D
00
fl
l
fl
h
rb
l
rb
h
re
l
re
h
B9
9B
Command name
CMD_SET_STAB_PARAM
Compatibility
Identical to the MCA166 command.
Execution right
Necessary
Description
The command sets the stabilization parameters.
st:
time interval (1 … 32767 sec., default 10 sec.)
sa:
area (default 25000)
Format
integer
integer
integer
long
integer
Parameter
preamble
command
st
sa
end flag
Byte string (HEX)
A5
5A
67
00
st
l
st
h
sa
l
...
...
sa
h
B9
9B
MCA Detector Power Commands:
Command name
CMD_SET_PREAMPLIFIER_POWER
Compatibility
Compatible to the MCA166 command.
Execution right
Necessary
Description
The command sets the preamplifier power (pp).
0X80
-24V
on
0X40
+24V
on
0X20
-12V
on
0X10
+12V
on
0XF0
all
on
0X00
all
off
Format
integer
integer
integer
long
integer
Parameter
preamble
command
pp
0
end flag
Byte string (HEX)
A5
5A
4E
00
pp
00
00
00
00
00
B9
9B
Remarks
The Lite version provides no ± 24 V and the OEM version provides no preamplifier power at all. The
corresponding bits are ignored.
17