GBS Elektronik MCA166-USB User Manual
Page 63
MCA Hardware Setup Commands:
Command name
CMD_SET_GAIN
Description
The command sets the amplifier coarse(cg) and fine gain(fg).
cg:
2, 5, 10, 20, 50, 100, 200, 500 or 1000
fg:
5000 ... 15000 (for cg = 1000 fg: 5000 ... 10000)
Command syntax
Format
integer
integer
integer
long
integer
Parameter
preamble
command
cg
fg
end flag
Byte String (HEX)
A5
5A
4C
00
cg
l
cg
h
fg
l
fg
h
00
00
B9
9B
Used setup value
None
Affected setup value
coarse_gain, fine_gain
MCA state
STATE_READY
Command name
CMD_SET_INPUT_POLARITY
Description
The command sets the input polarity for the internal amplifier.
ip = 0 positive input signals
ip = 1 negative input signals
Command syntax
Format
integer
integer
integer
long
integer
Parameter
preamble
command
ip
0
end flag
Byte String (HEX)
A5
5A
56
00
ip
00
00
00
00
00
B9
9B
Used setup value
None
Affected setup value
mca_input_pol
MCA state
STATE_READY
Command name
CMD_SET_MCA_INPUT
Description
The command sets the ADC input to amplifier or to direct.
ip = 0 input amplifier
ip = 3 input direct (0 ... +3V, PUR OFF)
ip = 4 input direct (0 ... -3V, PUR OFF)
Command syntax
Format
integer
integer
integer
long
integer
Parameter
preamble
command
ip
0
end flag
Byte String (HEX)
A5
5A
54
00
ip
00
00
00
00
00
B9
9B
Used setup value
None
Affected setup value
mca_input_adc
MCA state
STATE_READY
63