mpiSequenceCreate

Declaration
 MPISequence mpiSequenceCreate(MPIControl control,
                               long       number,
                               long       pageSize)
Required Header stdmpi.h
Description

SequenceCreate creates a Sequence object associated with the program sequencer identified by number located on motion controller (control). SequenceCreate is the equivalent of a C++ constructor.

If Then
number is -1 SequenceCreate selects the next unused program sequencer. If this is the first use of the program sequencer, then SequenceCreate will attempt to allocate pageSize firmware command slots.
pageSize is -1 SequenceCreate will allocate all remaining firmware command slots, which may prevent any more Sequence objects from being created.
Return Values
handle to a Sequence object
MPIHandleVOID if the object could not be created
See Also mpiSequenceDelete | mpiSequenceValidate