.

mpiSequenceCommandLast

Declaration

 
MPICommand mpiSequenceCommandLast(MPISequence sequence)
  Required Header: stdmpi.h

Description

mpiSequenceCommandLast returns the last element in the list. This function can be used in conjuntion with mpiSequenceCommandPrevious(...) in order to iterate through the list backwards.

NOTE: The maximum number of sequence commands that can exist on a controller, from all sequence objects, at one time is defined by MEIXmpCmdBuffSize in xmp.h.

 
sequence a handle to the Sequence object.
   
 
Return Values
MPIMessageOK  
Return Values
handle to the last Command in a Sequence (sequence)
MPIHandleVOID if sequence is invalid
if sequence is empty
MPIMessageHANDLE_INVALID  

See Also

mpiSequenceCommandFirst | mpiSequenceCommandPrevious | mpiSequenceCommandNext

 

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