long mpiEventMgrService(MPIEventMgr eventMgr,
                        MPIControl  control)

Required Header: stdmpi.h


mpiEventMgrService obtains all pending asynchronous events from the motion controller (control).

Events generated by enabled sources are returned in First-In/First-Out (FIFO) order each time a thread calls mpiEventMgrService(...).

Typically, after a motion controller generates a hardware interrupt, the Interrupt Service Routine (ISR) is invoked, and the ISR in turn invokes mpiEventMgrService(...) directly or indirectly.

If "control" is
MPIHandleVOID events will be obtained from all motion controllers on the EventMgr's (eventMgr) control list
valid control must also be present on the EventMgr's (eventMgr) control list
Return Values

See Also

meiEventMgrServiceConfigGet | meiEventMgrServiceConfigSet | mpiEventMgrFlush


       Legal Notice  |  Tech Email  |  Feedback
Copyright ©
2001-2010 Motion Engineering