mpiControlProcessEvents

Declaration

MPI_RESULT
   mpiControlProcessEvents(MPIControl control);

 

Required Header: stdmpi.h

Change History: Added in 04.00.

Description

mpiControlProcessEvents obtains all pending asynchronous events from the motion controller (control) and then passes them to each callback function in the controller’s list of event callback functions.

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

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

control The controller object from which events will be processed.