Mca527 – GBS Elektronik MCA-166 Communication DLL User Manual
Page 20

MCA527
Name
MMCA_SET_PIN5_CURRENT_SOURCE
Description
The function switches the current source on SUB-D9 pin5 on or off.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_PIN5_CURRENT_SOURCE(unsigned char uchOption);
uchOption
0 = off, 1 = on
Return value
See MCA_COMM function
Remarks
The function is only usable for MCA527.
MCA Data Setup functions:
Name
MMCA_SET_TDF
Description
The function sets the dead time correction parameter.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_TDF(unsigned short unTdf);
unTdf
100 ... 3000, default 800
Return value
See MCA_COMM function
Name
MMCA_SET_USER_DATA
Description
The function stores any 32 bit value in the MCA memory.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_USER_DATA(unsigned short unNumber,
unsigned long ulUserData);
unNumber
Number:
MCA166:
0 ... 63
MCA527:
0 … 255
ulUserData
32 bit value
Return value
See MCA_COMM function
Remarks
Appendix 5 contains additional information about user data.
Name
MMCA_SET_TIME
Description
The function writes the current PC time to the internal MCA clock.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_TIME();
Return value
See MCA_COMM function
Remarks
The function is only usable for MCA527.
Name
MMCA_SET_UF6_ROIS
Description
The function sets the begin and the end of a ROI used by the other UF6 functions.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_UF6_ROIS(unsigned short unNumber,
unsigned short unBegin,
unsigned short unEnd);
unNumber
ROI number:
1 ... 3
unBegin
ROI begin:
LLD<= begin < end
unEnd
ROI end:
begin < end <= ULD, (end-begin) < 250
Return value
See MCA_COMM function
20