Cmd_query_adjustment_table – GBS Elektronik MCA-527 Firmware Commands User Manual
Page 54
![background image](https://www.manualsdir.com/files/787577/content/doc054.png)
MCA527
Name
CMD_QUERY_ADJUSTMENT_TABLE
Compatibility
New MCA527 command.
Execution right
Not necessary
Description
The command returns the ADC values that has been measured with different settings at open signal
input. These data can be used to interpolate
the ADC value which corresponds to the ground
line. A value is valid if it is unequal to -1.
Format
integer
integer
integer
long
integer
Parameter
Preamble
command
0
0
end flag
Byte string (HEX)
A5
5A
26
01
00
00
00
00
00
00
B9
9B
Result data array
Byte offset 0
measured with coarse gain = 2, offset DAC = 1024
short
Byte offset 2
measured with coarse gain = 2, offset DAC = 15360
short
Byte offset 4
measured with coarse gain = 5, offset DAC = 1024
short
Byte offset 6
measured with coarse gain = 5, offset DAC = 15360
short
Byte offset 8
measured with coarse gain = 10, offset DAC = 1024
short
Byte offset 10
measured with coarse gain = 10, offset DAC = 15360
short
Byte offset 12
measured with coarse gain = 20, offset DAC = 1024
short
Byte offset 14
measured with coarse gain = 20, offset DAC = 15360
short
Byte offset 16
measured with coarse gain = 50, offset DAC = 1024
short
Byte offset 18
measured with coarse gain = 50, offset DAC = 15360
short
Byte offset 20
measured with coarse gain = 100, offset DAC = 1024
short
Byte offset 22
measured with coarse gain = 100, offset DAC = 15360
short
Byte offset 24
unused
82 bytes
Byte offset 106
Command flag and parameters
8 bytes
Byte offset 114
unused
12 bytes
Byte offset 126
Checksum
unsigned short
Byte offset 128
MCA state
unsigned short See CMD_QUERY_POWER
Byte offset 130
unused
2 bytes
54