.

mpiMotorEventConfigSet

Declaration

long mpiMotorEventConfigSet(MPIMotor            motor,
                            MPIEventType        eventType,
                            MPIMotorEventConfig *eventConfig,
                            void                *external) 
  Required Header: stdmpi.h

Description

mpiMotorEventConfigSet reads the structure pointed to by eventConfig and sets the Motor's (motor) configuration for the event specified by eventType.

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.

Remarks

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

 
Return Values
MPIMessageOK  

See Also

MEIMotorEventConfig | mpiMotorEventConfigGet | Error Limit and Limit Switch Errors

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering