mpiMotorFlashConfigGet

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

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

The Motor's flash configuration information in external is in addition to the Motor's flash configuration information in config, i.e, the flash 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 MotorFlashConfigGet successfully writes the Motor's flash configuration to the structure(s)
flash is either an MEIFlash handle or MPIHandleVOID. If flash is MPIHandleVOID, an MEIFlash object will be created and deleted internally.
See Also MEIMotorConfig | MEIFlash | mpiMotorFlashConfigSet