.

mpiSequenceCommandPrevious

Declaration

 
MPICommand mpiSequenceCommandPrevious(MPISequence sequence,
                                      MPICommand  command) 
  Required Header: stdmpi.h

Description

mpiSequenceCommandPrevious returns the previous element prior to "command" on the list. This function can be used in conjuntion with mpiSequenceCommandLast(...) 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.
command a handle to a Command object.
   
 
Return Values
handle to the Command preceding the Command (command) in a Sequence (sequence)
MPIHandleVOID if sequence is invalid
if command is the first command in a Sequence (sequence)
MPIMessageHANDLE_INVALID  

See Also

mpiSequenceCommandLast | mpiSequenceCommandNext

 

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