Cmd_init, Cmd_clear – GBS Elektronik MCA-527 Firmware Commands User Manual
Page 4

MCA527
The Ethernet communication uses the UDP protocol with the destination port 50000. The preamble is
prefixed 2 bytes (0xA5, 0x5A) for intern byte alignment within the MCA527.
The MCA527 can be configured to use a fixed customized IP address or to obtain the IP address
automatically from a DHCP server or if not available, to use Zero Configuration Networking (also named
Automatic Private IP Addressing).
While the MCA527 is writing a file, only the query commands and CMD_STOP command are executable. All
other commands are ignored and response with an error value. The file writing state is returned by
CMD_QUERY_STATE527_EX.
MCA Reset Command:
Command name
CMD_INIT
Compatibility
Identical to the MCA166 command.
Execution right
Necessary
Description
All MCA Parameters will be reset to their initial state and the spectra are cleared. The measurement
is aborted. The preamplifier power and the high voltage are turned off!
Format
integer
integer
integer
long
integer
Parameter
preamble
command
0
0
end flag
Byte string (HEX)
A5
5A
41
00
00
00
00
00
00
00
B9
9B
MCA Clear Command:
Command name
CMD_CLEAR
Compatibility
Differs to the MCA166 command.
Execution right
Necessary
Description
Depending on the parameter: CLEAR_MEASUREMENT_DATA = 0 or 1
CLEAR_ROI
= 2
CLEAR_ALL
= 3
the command clears the measurement data, the ROI limits exclusively or all together. Before the
measurement data are cleared, a running measurement is immediately stopped.
Format
integer
integer
integer
long
integer
Parameter
preamble
command
clear
0
end flag
Byte string (HEX)
A5
5A
44
00
clear
00
00
00
00
00
B9
9B
4