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

MCA527
MCA527 Extension Port functions:
Name
MMCA_SET_EXTENSION_PORT
Description
The function configures the parts of the extension port..
Declaration
ERROR_FLAG CALLBACK MMCA_SET_EXTENSION_PORT(unsigned char uchA,
unsigned char uchB,
unsigned char uchC,
unsigned char uchD,
unsigned char uchE,
unsigned char uchF)
uchA … uchF
The parameters assign the parts their job.
Return value
See MCA_COMM function
Remarks
This function is only usable for MCA527. See CMD_SET_EXTENSION_PORT.
Name
MMCA_SET_EXTENSION_POLARITY
Description
The function sets the polarity for the parts of the extension port.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_EXTENSION_POLARITY(unsigned short unPart,
unsigned short unPolarity);
unPart
Part of the extension port.
unPolarity
Polarity
Return value
See MCA_COMM function
Remarks
This function is only usable for MCA527. See CMD_SET_EXTENSION_POLARITY.
Name
MMCA_SET_EXTENSION_PULSER_PERIOD
Description
The function sets the pulser period for the parts of the extension port.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_EXTENSION_PULSER_PERIOD(unsigned short unPart,
unsigned long ulPeriod);
unPart
Part of the extension port.
ulPeriod
Pulser period
Return value
See MCA_COMM function
Remarks
This function is only usable for MCA527. See CMD_SET_EXTENSION_PULSER_PERIOD.
Name
MMCA_SET_EXTENSION_PULSER_WIDTH
Description
The function sets the pulser width for the parts of the extension port.
Declaration
ERROR_FLAG CALLBACK MMCA_SET_EXTENSION_PULSER_PERIOD(unsigned short unPart,
unsigned long ulWidth);
unPart
Part of the extension port.
ulWidth
Pulser width
Return value
See MCA_COMM function
Remarks
This function is only usable for MCA527. See CMD_SET_EXTENSION_PULSER_WIDTH.
28