MEIPlatformMessage
Definition
|
typedef enum {
MEIPlatformMessagePLATFORM_INVALID,
MEIPlatformMessageDEVICE_INVALID,
MEIPlatformMessageDEVICE_ERROR,
MEIPlatformMessageDEVICE_MAP_ERROR, MEIPlatformMessageCOPY64_FAILURE,
} MEIPlatformMessage;
|
|
Required Header: stdmei.h Change History: Modified in the 03.04.00. |
Description
MEIPlatformMessage is an enumeration of SynqNet error messages that can be returned by the MPI library.
MEIPlatformMessagePLATFORM_INVALID |
|
The platform object is not valid. This message code is returned by a platform method if the platform object handle is not valid. Most applications do not use the platform module. The MPI library uses the platform module internally. If an application needs a platform handle, use meiControlPlatform(...). Do NOT create your own platform object with meiPlatformCreate(...). |
MEIPlatformMessageDEVICE_INVALID |
|
The platform device driver is not valid. This message code is returned by mpiControlInit(...) or mpiControlReset(...) if the platform device handle is not valid. This message code comes from the lower level routines, meiPlatformInit(...) or meiPlatformDeviceClose(...). To correct the problem, make sure the device driver is installed and operational. |
MEIPlatformMessageDEVICE_ERROR |
|
The platform device failed. This message code is returned by the platform methods that fail to access a controller via a device driver. It occurs if the specified board type is not a member of the MEIPlatformBoardType enumeration. It also occurs if the device driver fails to read/write controller memory or there is an interrupt handling failure. To correct the problem, verify the platform has support for your controller and the device drive is installed and operational. Check for any resource conflicts (memory range, I/O port range, and interrupts) with other devices. |
MEIPlatformMessageDEVICE_MAP_ERROR |
|
The platform device memory mapping failed. This message code is returned by mpiControlInit(...) or mpiControlReset(...) if the controller memory could not be mapped to the operating system's memory space. To correct this problem, verify there are no memory resource conflicts. Also, make sure the host computer and operating system have enough free memory for the controller (XMP-Series requires 8 Mbytes). |
MEIPlatformMessageCOPY64_FAILURE |
|
The 64-bit read failed. This message is returned by meiPlatformMemoryGet64(…), mpiAxisCommandPositionGet(…), or mpiAxisActualPositionGet(…), if the 64-bit position data cannot be read atomically. Internally, the MPI uses an algorithm to construct the 64-bit position data via multiple 32-bit reads. If the 64-bit position value is not valid after multiple attempts, this error will be returned. If your application experiences this error message, if possible, use the equivalent 32-bit methods, mpiAxisCommandPositionGet32(…), mpiAxisActualPositionGet32(…), or contact MEI.
|
See Also
|