.

meiMotorDacFlashConfigGet

Declaration

long meiMotorDacFlashConfigGet(MPIMotor           motor,
void *flash, MEIMotorDacConfig *config);
  Required Header: stdmei.h

Description

meiMotorDacFlashConfigGet gets a Motor's (motor) DAC configuration from flash memory and writes it to the structure pointed to by config.

 
motor a handle to the Motor object
*flash

flash is either an MEIFlash handle or MPIHandleVOID. If flash is MPIHandleVOID, an MEIFlash object will be created and deleted internally. Using MPIHandleVOID is recommended, as it simplifies code.

If flash is a valid MEIFlash handle, then the MEIFlash object cache will be updated, but the actual write to controller flash will not occur. Use meiFlashMemoryFromFileType(...) to prompt the actual write to flash.

*config

a pointer to a MEIMotorDacConfig structure.

   
 
Return Values
MPIMessageOK  

See Also

meiMotorDacFlashConfigSet | meiMotorDacConfigGet | MEIMotorDacConfig

 

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