GBS Elektronik MCA-166 Communication DLL User Manual
Page 9

Description of the MCA Communication DLL
MCA Mode functions:
Name
MMCA_SET_GENERAL_MODE
Description
The function sets the general MCA527 mode.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_GENERAL_MODE(unsigned short unMode);
unMode
General MCA527 mode (see CMD_SET_GENERAL)
Return value
See MCA_COMM function
Name
MMCA_SET_MODE_MCA
Description
The function sets the acquire mode to Multi-Channel Analyser.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_MODE_MCA();
Return value
See MCA_COMM function
Name
MMCA_SET_MODE_MCS
Description
The function sets the acquire mode to Multi-Channel Scaler. The MCS input remains unchanged.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_MODE_MCS();
Return value
See MCA_COMM function
Name
MMCA_SET_MODE_MCS_TTL
Description
The function sets the acquire mode to Multi-Channel Scaler and the MCS input to “extern TTL”.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_MODE_MCS_TTL();
Return value
See MCA_COMM function
Name
MMCA_SET_MODE_MCS_ICR
Description
The function sets the acquire mode to Multi-Channel Scaler and the MCS input to “Input Rate”.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_MODE_MCS_ICR();
Return value
See MCA_COMM function
Name
MMCA_SET_MODE_MCS_DISCR
Description
The function sets the acquire mode to Multi-Channel Scaler and the MCS input to “LLD/ULD”.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_MODE_MCS_DISCR();
Return value
See MCA_COMM function
MCA Clear functions:
Name
MMCA_CLEAR_MEMORY
Description
MCA166: The acquisition is stopped and the spectrum is cleared.
MCA527: The acquisition is stopped and the spectrum, the real time and the dead time are cleared.
Declaration
ERROR_FLAG CALLBACK MMCA_CLEAR_MEMORY();
Return value
See MCA_COMM function
9