mpiCaptureCreate

Declaration

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

Required Header: capture.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
MPIMessageNO_MEMORY 

See Also

MPICaptureDelete | mpiCaptureValidate