Cmd_stop, Cmd_set_general_mode, Cmd_set_mode – GBS Elektronik MCA-527 Firmware Commands User Manual
Page 6
MCA527
Command name
CMD_STOP
Compatibility
Compatible to the MCA166 command.
Execution right
Necessary
Description
In MCA mode the measurement is stopped at the next integer real time, otherwise immediately
Format
integer
integer
integer
long
integer
Parameter
preamble
command
0
0
end flag
Byte string (HEX)
A5
5A
43
00
00
00
00
00
00
00
B9
9B
MCA Mode Commands:
Command name
CMD_SET_GENERAL_MODE
Compatibility
New MCA527 command
Execution right
Necessary
Description
The MCA527 is not only usable as a MCA. It can also alternatively be used as an oscilloscope, as a
transient recorder or as a time stamp recorder.
Depending on the parameter, the MCA527 serves as:
0 = MCA
1 = Transient recorder (records ADC raw data)
2 = Oscilloscope
3 = Time stamp recorder (level triggered signals)
4 = Time stamp recorder (edge triggered signals)
5 = Time stamp recorder (AHRC = analog high rate counting)
The command sets the MCA527 to the required general mode by activating the previous specified
setup parameters.
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
mode
0
end flag
Byte string (HEX)
A5
5A
05
01
mode 00
00
00
00
00
B9
9B
Remarks
The oscilloscope mode is described in the document “Description of the MCA527 Oscilloscope
Mode” (MCA527_Oscilloscope_Mode_
XXXX_XX_XX
.pdf).
Command name
CMD_SET_MODE
Compatibility
Identical to the MCA166 command.
Execution right
Necessary
Description
Depending on the parameter: MODE_MCA = 0 or MODE_MCS = 1, the command sets the MCA527
to the required mode by activating the previous specified setup parameters.
The command is ignored and responds with an error value if a measurement is still running or if
gating mode 'sort by time' (see CMD_SET_GATING) is set.
Format
integer
integer
integer
long
integer
Parameter
preamble
command
mode
0
end flag
Byte string (HEX)
A5
5A
45
00
mode 00
00
00
00
00
B9
9B
11 Note, there are hardware modifications without offset DAC and without hardware-based coarse gain. In such a case, the general
mode 3 works only properly if the input signal is adjusted by default for this mode.
12 The time stamp recorders are no standard components of all firmware versions. The availability of the time stamp recorders is
indicated by the corresponding flag within the parameter “MCA features” (byte offset 8) returned by the command
COMMAND_QUERY_STATE527.
6