MCA166-USB
APPENDIX 4 - Description of the MCA166-USB firmware functions
MCA Reset Command:
Command name
CMD_INIT
Description
All MCA Parameters will be reset to their initial state and the spectra are cleared. The measurement
is aborted, but the states of the preamplifier power and the value of the high voltage are unchanged!
Command syntax
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
Used setup value
None
Affected setup value
All
MCA state
STATE_READY
MCA Acquire Commands:
Command name
CMD_START
Description
Depending on the value of the first parameter(cf) the command clears the spectrum and the time or
not and then the measurement will be started. If the first parameter is not equal zero, the spectrum
and the time where cleared and the second parameter(st) is stored as start time.
39
Command syntax
Format
integer
integer
integer
long
integer
Parameter
preamble
command
cf
st
end flag
Byte String (HEX)
A5
5A
42
00
cf
00
st
l
..
..
st
h
B9
9B
Used setup value
All
Affected setup value
start time
MCA state
STATE_RUN
Command name
CMD_STOP
Description
The measurement is stopped immediately. There is no synchronisation with the internal clock or
dwell time.
Command syntax
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
Used setup value
None
Affected setup value
None
MCA state
STATE_STOP
39 See Appendix 3
58