mpiMotorEventConfigGet

Declaration
long mpiMotorEventConfigGet(MPIMotor            motor,
                            MPIEventType        eventType,
                            MPIMotorEventConfig *eventConfig,
                            void                *external)
Required Header stdmpi.h
Description

MotorEventConfigGet gets the Motor's (motor) configuration for the event specified by eventType and writes it into the structure pointed to by eventConfig, and also writes it to the implementation-specific structure pointed to by external (if external is not NULL).

The event configuration information in external is in addition to the event configuration information in eventConfig, i.e, the event configuration information in eventConfig and in external is not the same information. Note: Set eventConfig or external to NULL. One must be NULL, the other must be passed a pointer.

XMP Only

external either points to a structure of type MEIMotorEventConfig{} or is NULL.

Return Values
MPIMessageOK if MotorEventConfigGet successfully writes the Motor's configuration for the event to the structure(s)
See Also MEIMotorEventConfig | mpiMotorEventConfigSet