2 general mode = 'mca' (= 0), 1 basis file block – GBS Elektronik MCA-527 Binary Data Format User Manual
Page 5
![background image](https://www.manualsdir.com/files/787576/content/doc005.png)
MCA binary data format
2 General mode = 'MCA' (= 0)
In this general mode the MCA527 runs as an ordinary multi-channel analyzer.
2.1 Basis file block
The following table shows the basis file block of a MCA527 with general mode equal 'MCA' (=0).
Position
Name
Data type
References
Byte offset 0
Header
28 bytes
Byte offset 28
MCA acquire mode
unsigned short CMD_QUERY_STATE, byte offset 0
Byte offset 30
MCA channels
unsigned short CMD_QUERY_STATE, byte offset 36
Byte offset 32
LLD
unsigned short CMD_QUERY_STATE, byte offset 40
Byte offset 34
ULD
unsigned short CMD_QUERY_STATE, byte offset 42
Byte offset 36
Threshold [ * 0,1 %]
unsigned short CMD_QUERY_STATE527, byte offset 66
Byte offset 38
Preset
unsigned short CMD_QUERY_STATE, byte offset 2
Byte offset 40
Preset value
unsigned long
CMD_QUERY_STATE, byte offset 4
Byte offset 44
Preset ROI begin
unsigned short CMD_QUERY_STATE, byte offset 44
Byte offset 46
Preset ROI end
unsigned short CMD_QUERY_STATE, byte offset 46
Byte offset 48
MCS channels
unsigned short CMD_QUERY_STATE, byte offset 92
Byte offset 50
MCS input
unsigned short CMD_QUERY_STATE, byte offset 84
Byte offset 52
MCS time per channel [ * 0.1 msec]
unsigned long
CMD_QUERY_STATE527, byte offset 92
Byte offset 56
Stabilisation state
unsigned short CMD_QUERY_STATE, byte offset 68
Byte offset 58
Stabilisation result
unsigned short CMD_QUERY_STATE, byte offset 70
Byte offset 60
Stabilisation ROI begin
unsigned short CMD_QUERY_STATE, byte offset 72
Byte offset 62
Stabilisation ROI end
unsigned short CMD_QUERY_STATE, byte offset 74
Byte offset 64
Stabilisation counter
unsigned long
CMD_QUERY_SYSTEM_DATA, byte offset 80
Byte offset 68
Stabilisation offset
long
CMD_QUERY_SYSTEM_DATA, byte offset 84
Byte offset 72
Stabilisation offset minimum
long
CMD_QUERY_SYSTEM_DATA, byte offset 88
Byte offset 76
Stabilisation offset maximum
long
CMD_QUERY_SYSTEM_DATA, byte offset 92
Byte offset 80
Stabilisation area preset
unsigned long
CMD_QUERY_SYSTEM_DATA, byte offset 116
Byte offset 84
Stabilisation time preset [sec]
unsigned short CMD_QUERY_SYSTEM_DATA, byte offset 120
Byte offset 86
Repeat value
unsigned short CMD_QUERY_STATE, byte offset 12
Byte offset 88
Amplifier coarse gain
unsigned short CMD_QUERY_STATE, byte offset 48
Byte offset 90
Amplifier fine gain
unsigned short CMD_QUERY_STATE, byte offset 50
Byte offset 92
ADC input
unsigned short CMD_QUERY_STATE, byte offset 76
Byte offset 94
ADC input polarity
unsigned short CMD_QUERY_STATE, byte offset 78
Byte offset 96
High voltage [V]
unsigned short CMD_QUERY_STATE, byte offset 56
Byte offset 98
High voltage polarity
unsigned short CMD_QUERY_STATE, byte offset 58
Byte offset 100 HV inhibit mode
short
CMD_QUERY_STATE, byte offset 122
3 The parameters starting from byte offset 16 refer to parameters returned by MCA query commands. The table cells contain the
name of the command and the byte offset within the result data array. See the document “Description of the MCA527 Firmware
Commands” (MCA527_Firmware_Commands_
XXXX_XX_XX
.pdf).
5