.

mpiCompensatorCreate

Declaration

 
MPICompensator  mpiCompensatorCreate(MPIControl  control,
                                     long        number);
  Required Header: stdmpi.h

Description

mpiCompensatorCreate creates a Host Compensator object associated with the compensation object identified by number located on motion controller control. CompensatorCreate is the equivalent of a C++ constructor.

Valid compensator numbers are zero (0) to MPIControlMAX_COMPENSATORS.

Before creating a Compensator object, the controller compensation objects must be enabled using MPIControlConfig.compensatorCount, or the host object will be invalid.

 
Return Values
handle handle to a Compensator object
MPIHandleVOID if the object could not be created

See Also

mpiCompensatorDelete | mpiCompensatorValidate | MPIControlConfig

 

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