|
A thread uses a Notify object to wait for event notification.
For each thread intended to wait for events from an object (or objects),
your application must create a Notify object. The source of firmware
events are Motion, Sequence, and Recorder objects.
When it is desired to wait for event notifications from a single
source, that source (i.e., object handle) can be passed as the second
argument to mpiNotifyCreate(...). After a Notify object is appended
to the EventMgr list of Notify objects, make a call to mpiNotifyEventWait(...)
to instruct the Notify object to wait for event notification.
|