EventMgrService obtains all
pending asynchronous events from the motion controller (control).
Events generated by sources for which no prior call to mpiEventMgrEnable(...)
has been made are discarded. Events generated by enabled sources
are returned in First-In/First-Out (FIFO) order each time a thread
calls mpiEventMgrWait(...).
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.
|