TwoEdgePolarity Property

NI Vision for Visual Basic

TwoEdgePolarity Property

Syntax

CWIMAQCaliperOptions.TwoEdgePolarity

Data Type

CWIMAQTwoEdgePolarities

You can use the following constants with this data type:

  • cwimaqTwoEdgePolarityFallingFalling—The leading edge has a dark-to-light polarity. The trailing edge has a dark-to-light polarity.
  • cwimaqTwoEdgePolarityFallingRising—The leading edge has a dark-to-light polarity. The trailing edge has a light-to-dark polarity.
  • cwimaqTwoEdgePolarityNone—Polarity is ignored.
  • cwimaqTwoEdgePolarityRisingFalling—The leading edge has a light-to-dark polarity. The trailing edge has a dark-to-light polarity.
  • cwimaqTwoEdgePolarityRisingRising—The leading edge has a light-to-dark polarity. The trailing edge has a light-to-dark polarity.

Purpose

Polarity of the leading and trailing edge in the search process. The default is cwimaqTwoEdgePolarityRisingFalling.