Braun MCA166-USB Network Card User Manual


 
Name
MMCA_QUERY_STATE
Description The command reads the MMCA state.
Parameter -
Results array MCA acquire mode MCA_MODE MODE_MCA, MODE_MCS
Byte Offset 2 MCA preset MCA_PRESETS PRESET_NONE
PRESET_REAL
PRESET_LIVE
PRESET_INT
PRESET_AREA
Byte Offset 4 Preset value long
Byte Offset 8 Elapsed preset long
Byte Offset 12 Repeat value integer value
Byte Offset 14 Elapsed sweeps integer value
Byte Offset 16
MCS time per channel [0.01 sec]
integer value
Byte Offset 18
Elapsed time per channel [0.01 sec]
integer value
Byte Offset 20 Real time [sec] long
Byte Offset 24 Counts per seconds long
Byte Offset 28 Dead time [msec] long
Byte Offset 32 Busy time [msec] long
Byte Offset 36 MCA channels integer value 128, ... , 4096
Byte Offset 38 Threshold integer value 2 .. 60
Byte Offset 40 LLD integer value 0 ...
Byte Offset 42 ULD integer value
Byte Offset 44 ROI begin (preset integral/area) integer value
Byte Offset 46 ROI end (preset integral/area) integer value
Byte Offset 48 Amplifier coarse gain integer value 2, ... , 1000
Byte Offset 50 Amplifier fine gain integer value 5000 ... 15000
Byte Offset 52 Slow discriminator value integer value 0 ... 2499 mV
Byte Offset 54 Fast discriminator value integer value 0 ... 2499 mV
Byte Offset 56 High voltage integer value 0 ... 3000 V
Byte Offset 58 High voltage polarity integer value 0 positive 1 negative
Byte Offset 60 Power switches integer value 0X80 -24V ON
0X40 +24V ON
0X20 -12V ON
0X10 +12V ON
0X02 HV ON
Byte Offset 62 PZC value integer value 0 ... 2499 mV
Byte Offset 64 Time offset for PZC and DTC low
30
integer value 0 ... 15
Byte Offset 66 Time offset for PZC and DTC high integer value 0 ... 15
Byte Offset 68 Stabilisation state or channel integer value
Byte Offset 70 Stabilisation result MCA_STAB_RESULT STAB_STARTED, STAB_ACTIVE,
30 value multiplied with 0.4µsec
51