Mca166-usb – GBS Elektronik MCA166-USB User Manual
Page 36
MCA166-USB
The first argument is a string with the name of the command. In the following table all available commands (use of capital and small
letters is possible), the corresponding firmware specific names and the number of the required parameters are listed.
Name of the command
Firmware specific name
Number of the parameters
INIT
CMD_INIT
1
START
CMD_START
2
STOP
CMD_STOP
0
CLEAR
CMD_CLEAR
1
MODE
CMD_SET_MODE
1
ADC_RES_DISCR
CMD_SET_ADC_RES_DISCR
3
THRESHOLD
CMD_SET_THRESHOLD
1
PRESETS
CMD_SET_PRESETS
2
ROI
CMD_SET_ROI
2
REPEAT
CMD_SET_REPEAT
1
TIME_PER_CHANNEL
CMD_SET_TIME_PER_CHANNEL
1
GAIN
CMD_SET_GAIN
2
STABILISATION
CMD_SET_STABILISATION
3
PREAMPLIFIER_POWER
CMD_SET_PREAMPLIFIER_POWER
1
BIAS
CMD_SET_BIAS
2
FAST
CMD_SET_FAST
1
SLOW
CMD_SET_SLOW
1
SHAPING_TIME
CMD_SET_SHAPING_TIME
1
PUR
CMD_SET_PUR
1
MCA_INPUT
CMD_SET_MCA_INPUT
1
MCS_INPUT
CMD_SET_MCS_INPUT
1
INPUT_POLARITY
CMD_SET_INPUT_POLARITY
1
USER_DATA
CMD_SET_USER_DATA
2
SET_MEASURE_PZC
CMD_SET_MEASURE_PZC
2
QUERY_POWER
CMD_QUERY_POWER
0
QUERY_STATE
CMD_QUERY_STATE
0
QUERY_SPECTRA
CMD_QUERY_SPECTRA
2
QUERY_IMAGE
CMD_QUERY_IMAGE
3
QUERY_ENRICHMENT
CMD_QUERY_ENRICHMENT
4
QUERY_USER_DATA
CMD_QUERY_USER_DATA
1
QUERY_CENTROID
CMD_QUERY_CENTROID
2
PZC_TIME_OFFSET
CMD_SET_PZC_TIME_OFFSET
2
TDF
CMD_SET_TDF
1
QUERY_SYSTEM_DATA
CMD_QUERY_SYSTEM_DATA
0
MCS_CHANNEL
CMD_SET_MCS_CHANNEL
1
UF6_ROIS
CMD_SET_UF6_ROIS
3
QUERY_UF6_ROIS
CMD_QUERY_UF6_ROIS
0
QUERY_UF6_INFO
CMD_QUERY_UF6_INFO
0
STAB_PARAM
CMD_SET_STAB_PARAM
2
QUERY_VOLTAGE_CURRENT
CMD_QUERY_VOLTAGE_CURRENT
0
The second argument of MCA_COMM refers to the received data of the command (in Visual Basic always a RECDATA data type,
in C/C++ a RECDATA or a command specific structure). Information about the data structures you can find in chapter A3.2 and in
the files mca32com.bas (Visual Basic) or mca_comm.h (C/C++). The received data are significant if the command is a QUERY
command.
36