mpiMotionFlashConfigSet

Declaration
long mpiMotionFlashConfigSet(MPIMotion       motion,
                             void            *flash,
                             MPIMotionConfig *config,
                             void            *external) 
Required Header stdmpi.h
Description

MotionFlashConfigSet sets (writes) the flash configuration of a Motion object (motion) using data from the structure pointed to by config, and also using data from the implementation-specific structure pointed to by external (if external is not NULL).

The Motion's flash configuration information in external is in addition to the Motion'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). The implementation-specific flash argument is used to access flash memory.

XMP Only

external either points to a structure of type MEIMotionConfig{} or is NULL. flash is either an MEIFlash handle or MPIHandleVOID. If flash is MPIHandleVOID, an MEIFlash object will be created and deleted internally.

Return Values
MPIMessageOK if MotionFlashConfigSet successfully sets (writes) the Motion's flash configuration using data from the structure(s)
See Also MEIMotionConfig | MEIFlash | mpiMotionFlashConfigGet