MPIComparePointDirection

Declaration

typedef enum {
    MPIComparePointDirectionINVALID             = -1,
    MPIComparePointDirectionPOSITIVE            = 1,
    MPIComparePointDirectionNEGATIVE            = 2,
    MPIComparePointDirectionBOTH                = 3,
    MPICompareConfigModeEND,
    MPICompareConfigModeFIRST                   = MPICompareConfigModeINVALID + 1,
    MPICompareConfigModeCOUNT                   = MPICompareConfigModeEND - 
                                                  MPICompareConfigModeFIRST
}MPIComparePointDirection;

 

Required Header: compare.h

Change History: 04.00.07

Description

MPIComparePointDirection is an enumeration of a compare point's direction options.

MPIComparePointDirectionPOSITIVE The compare module triggers an output action if the position feedback is greater than or equal to the point loaded.
MPIComparePointDirectionNEGATIVE The compare module triggers an output action if the position feedback is less than the point loaded.
MPIComparePointDirectionBOTH The compare module ignores the direction bit and triggers an output in both directions.

See Also

mpiCompareConfig | mpiComparePoint