meiMotorConfigStepper

Declaration
long meiMotorConfigStepper(MPIMotor       motor,
                           MEIMotorConfig *config, 
                           long           stepperNumber)
Required Header stdmei.h
Description

MotorConfigStepper modifies the motor configuration structure pointed to by config, to use a step engine (stepperNumber) from another motor. By default, each motor uses its own step engine. Do NOT use more than one motor per step engine. Use the methods mpiMotorConfigGet/Set(.) to read/write the motor configuration from/to the controller.

  motor a handle to the Motion object
  *config a pointer to the motion frame buffer status structure returned by the method
  stepperNumber index to a step engine
     
Return Values
MPIMessageOK if MotorConfigStepper successfully modifies the motor configuration structure pointed to by config
See Also mpiMotorConfigGet | mpiMotorConfigSet