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

Description of the MCA Communication DLL
Name
MMCA_QUERY_AHRC_HISTOGRAM
Description
The function causes the MCA527 to acquire a corresponding histogram.
Declaration
ERROR_FLAG CALLBACK MMCA_QUERY_AHRC_HISTOGRAM(unsigned short unClassWidth,
LPSTR rec_data);
unClassWidth
Class interval width ( 1, 2, 4 ... 32768).
rec_data
Pointer to an array of 360 unsigned long values.
See CMD_QUERY_AHRC_HISTOGRAM, mca_comm.h or mca32com.bas.
Return value
See MCA_COMM function
Remarks
This function is only usable for MCA527.
Name
MMCA_QUERY_ADJUSTMENT_TABLE
Description
The function 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.
Declaration
ERROR_FLAG CALLBACK MMCA_QUERY_ADJUSTMENT_TABLE(LPSTR rec_data);
rec_data
Pointer to a QUERRY_ADJUSTMENT_TABLE structure. See CMD_QUERY_ADJUSTMENT_TABLE or
mca_comm.h.
Return value
See MCA_COMM function
Remarks
This function is only usable for MCA527.
Name
MMCA_QUERY_ON_LINE
Description
The function checks the communication between the MCA and the PC.
Declaration
ERROR_FLAG CALLBACK MMCA_QUERY_ON_LINE();
Return value
See MCA_COMM function
27