Cmd_set_input_polarity, Cmd_set_mca_input, Cmd_set_mcs_input – GBS Elektronik MCA-527 Firmware Commands User Manual
Page 10
![background image](https://www.manualsdir.com/files/787577/content/doc010.png)
MCA527
Command name
CMD_SET_INPUT_POLARITY
Compatibility
Identical to the MCA166 command.
Execution right
Necessary
Description
The command sets the input polarity for the internal amplifier.
ip = 0
positive input signals
ip = 1
negative input signals
The command is ignored and responds with an error value if a measurement is still running.
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
Command name
CMD_SET_MCA_INPUT
Compatibility
Compatible to the MCA166 command.
Execution right
Necessary
Description
The command sets the input to shaping or to direct.
ip = 0
input shaping (equivalent to 'input amplifier' of the MCA166)
ip = 3
input direct (0 … +3V, no PUR, obsolete, for compatibility with older applications)
ip = 4
input direct (0 … -3V, no PUR, obsolete, for compatibility with older applications)
ip = 5
input direct (polarity according to CMD_SET_INPUT_POLARITY, gain according to
CMD_SET_GAIN, no PUR)
The command is ignored and responds with an error value if a measurement is still running.
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
Command name
CMD_SET_MCS_INPUT
Compatibility
Identical to the MCA166 command.
Execution right
Necessary
Description
The command sets the input for the Multi-Channel Scaler.
ip = 0
external TTL signals
ip = 1
internal count rate signal
ip = 2
counts only pulses with amplitude between LLD and ULD threshold
The command is ignored and responds with an error value if a measurement is still running.
Format
integer
integer
integer
long
integer
Parameter
preamble
command
ip
0
end flag
Byte string (HEX)
A5
5A
55
00
ip
00
00
00
00
00
B9
9B
17 Note, there are hardware modifications without offset DAC and without hardware-based coarse gain. In such a case, this MCS
input mode works only properly if the input signal is adjusted by default for this mode.
10