Cmd_set_roi, Cmd_set_repeat, Cmd_set_mcs_channel – GBS Elektronik MCA-527 Firmware Commands User Manual
Page 8: Cmd_set_time_per_channel

MCA527
Command name
CMD_SET_ROI
Compatibility
Identical to the MCA166 command.
Execution right
Necessary
Description
The command sets the begin and end of the ROI for the preset integral and area.
(LLD <= begin < end and LLD < end <= ULD)
Format
integer
integer
integer
integer
integer
integer
Parameter
preamble
command
beg
end
end flag
Byte string (HEX)
A5
5A
49
00
beg
l
beg
h
end
l
end
h
00
00
B9
9B
Command name
CMD_SET_REPEAT
Compatibility
Identical to the MCA166 command.
Execution right
Necessary
Description
The command sets the number (rep: 0 ... 65535) of sweeps for repetitive measurement.
Rep = 0 means infinite repetitions.
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
rep
0
end flag
Byte string (HEX)
A5
5A
4A
00
rep
l
rep
h
00
00
00
00
B9
9B
Command name
CMD_SET_MCS_CHANNEL
Compatibility
Compatible to the MCA166 command.
Execution right
Necessary
Description
The command sets the number of channels (ch: 1 ... 16384) for MCS mode.
The command is ignored and responds with an error value if a measurement is still running.
Command syntax
Format
integer
integer
integer
long
integer
Parameter
preamble
command
ch
0
end flag
Byte string (HEX)
A5
5A
63
00
ch
l
ch
h
00
00
00
00
B9
9B
Command name
CMD_SET_TIME_PER_CHANNEL
Compatibility
Identical to the MCA166 command.
Execution right
Necessary
Description
The command sets the dwell time per channel (tpc: 1 ... 65535) for the MCS mode. The dwell time is
tpc * 10 ms.
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
tpc
0
end flag
Byte string (HEX)
A5
5A
4B
00
tpc
l
tpc
h
00
00
00
00
B9
9B
Remarks
See next command.
8