932502G / 0618
7. FIRMWARE COMMANDS AND RESPONSES
where sssss represents an integer number that is the number of the first channel of the “next”
group of channels that all have their ROI bit set, and nnnnn represents an integer number
that is the number of channels in the group. If no more channels have their ROI bit set,
SHOW_NEXT returns a first channel of 0 and a number of channels of 0. The SHOW_ROI
command is used to report the “first” group of channels that all have their ROI bit set.
Example Responses:
$D0100000050078<CR>
Next ROI group starts at channel 1000 and is 50 channels
long.
$D0215000150086<CR>
Next ROI group starts at channel 2150 and is 150 channels
long.
$D0000000000072<CR>
No other ROI groups to report.
SHOW_OUTPUT
[0]
Reports the status of the “Change Sample” output port. The output port status is reported as
a 16-bit number that is 0 or 1, depending on the level last set by a SET_OUTPUT_HIGH or
SET_OUTPUT_LOW command.
Responses:
$C00000087<CR>
Change Sample output currently low.
$C00001088<CR>
Change Sample output currently high.
SHOW_OUTPUT_WIDTH
Returns the status of the output pulse generated initiated by SET_OUTPUT_WIDTH.
Responses:
$IT<CR>
Pulse in progress.
$IF<CR>
Pulse finished.
SHOW_PEAK
This command returns the contents of the ROI channel with the largest number of counts. An
ROI channel is a channel that has the ROI flag set. The maximum possible value is
2147483647, which is the maximum number of counts that can be stored in a 31-bit channel.
Responses:
$G0000000000075<CR>
Maximum count in an ROI channel is zero or no ROI
channels were found.
$G0000000001076<CR>
Maximum count in an ROI channel is 1.
...
...
$G2147483646120<CR>
Maximum count in an ROI channel is 2147483646.
$G2147483647121<CR>
Maximum count in an ROI channel is 2147483647.
SHOW_PEAK_CHANNEL
This command returns the number of the ROI channel with the largest number of counts. An
ROI channel is a channel that has the ROI flag set. The lowest number ROI channel with the
111