Description of the mca communication dll – GBS Elektronik MCA-166 Communication DLL User Manual
Page 11

Description of the MCA Communication DLL
Name
MMCA_SET_PRESET_AREA
Description
The function sets the value for the ROI area
Declaration
ERROR_FLAG CALLBACK MMCA_SET_PRESET_AREA(unsigned long ulArea);
ulArea
Area:
1 ... 4294967295
Return value
See MCA_COMM function
Name
MMCA_SET_PRESET_REAL_TIME_MILLISECONDS
Description
The function sets the time for the automatic stop condition. The function is only usable for MCA527,
firmware version 14.03 or higher.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_PRESET_REAL_TIME_MILLISECONDS(unsigned long ulRealTime);
ulRealTime
Real time:
1 ... 4294967295 msec
Return value
See MCA_COMM function
Name
MMCA_SET_ADC_RES_DISCR
Description
The function sets the ADC resolution and the software discriminator range.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_ADC_RES_DISCR(unsigned short unCountOfChannels,
unsigned short unLLD,
unsigned short unULD)
unCountOfChannels
Channels:
MCA166: 128, 256, 512, 1024, 2048 or 4096
MCA527: 128, … maximum channels count
unLLD
LLD:
0 <= LLD < ULD
unULD
ULD:
MCA166: LLD < ULD < Channels - Channels/32
MCA527: LLD < ULD < Channels
Return value
See MCA_COMM function
Name
MMCA_SET_ROI
Description
The function sets the begin and end of the ROI for the preset integral and area.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_ROI(unsigned short unROIBegin,
unsigned short unROIEnd);
unROIBegin
ROI begin channel:
LLD <= begin < end
unROIEnd
ROI end channel:
LLD < end <= ULD
Return value
See MCA_COMM function
Name
MMCA_SET_REPEAT
Description
The function sets the number of sweeps for repetitive measurement.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_REPEAT(unsigned short unRepeat);
unRepeat
Sweeps:
0 ... 65535 (0 = infinite)
Return value
See MCA_COMM function
11