.

mpiCaptureCreate

Declaration

 
MPI_DECL1 MPI_RESULT MPI_DECL2
    mpiCaptureCreate(MPICapture   *capture,
                     MPIControl   control,
                     long         number);
 

Required Header: stdmpi.h

Change History: Modified in 04.00.

Description

mpiCaptureCreate is the equivalent of a C++ constructor and creates a Capture object.The Capture object is identified by its association with a motor object, the motor's encoder and the encoder's capture number.

 
capture A pointer to a MPICapture structure which is initialized by this function.
control A handle to a controller.
number An index to the controller's capture number.
   
 
Return Values
MPIMessageOK
MPIMessageNO_MEMORY 
MPICaptureMessageCAPTURE_NOT_ENABLED 

See Also

MPICaptureDelete | mpiCaptureValidate

 

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