Publication 1756-RM004B-EN-P - October 2000
MVI Backplane API 3-11
Return Value:
MVI_SUCCESS no errors were encountered
MVI_ERR_NOACCESS
handle
does not have access
MVI_ERR_BADCONFIG configuration is not valid
MVI_ERR_NOTSUPPORTED 1756-MVI always returns this error
Example:
MVIHANDLE handle;
MVIBPIOCONFIG ioconfig;
ioconfig.DirectInputSize = 20; // 20 words used for input
ioconfig.DirectOutputSize = 10; // 10 words used for output
MsgSndBufSize = 200; // 200 word (max) messages to processor
MsgRcvBufSize = 0; // Received messages not enabled
if (MVI_SUCCESS != MVIbp_SetIOConfig(handle, &ioconfig))
printf(“Error: I/O configuration failed\n”);
See Also:
MVIbp_GetIOConfig
MVIbp_SetIOConfig