MPIEventSequenceData
Declaration
typedef struct MPIEventSequenceData {
uint16_t eventValue;
} MPIEventSequenceData;
Required Header: stdmpi.h
Change History: Added in 04.00.
Description
MPIEventSequenceData holds information about a program sequencer event generated on the controller.
| eventData | The value of MPICommandParams.event.value for the command used to generate the event. |
|---|
Sample Code
MPI_RESULT MPI_DECL2
mySequencerCallback(MPIControl control, const MPIEventData* status, void* userData)
{
/* print event information to the screen. */
printf("%s event occurred at controller sample %d.\n"
" Event value = %d\n",
mpiEventTypeName(status->eventType),
status->data.sampleCounter,
status->data.sequence.value);
}
See Also
MPIEventData | MPICommandParams
