mpiMotorConfigGet

Declaration
long mpiMotorConfigGet(MPIMotor       motor,
                       MPIMotorConfig *config,
                       void           *external) 
Required Header stdmpi.h
Description

MotorConfigGet gets a Motor's (motor) configuration and writes it into the structure pointed to by config, and also writes it into the implementation-specific structure pointed to by external (if external is not NULL).

The configuration information in external is in addition to the configuration information in config, i.e, the configuration information in config and in external is not the same information. Note that config or external can be NULL (but not both NULL).

XMP Only

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

Return Values
MPIMessageOK if MotorConfigGet successfully writes the Motor's configuration to the structure(s)
See Also MEIMotorConfig | mpiMotorConfigSet