Polarity Property

NI Vision for Visual Basic

Polarity Property

Syntax

CWIMAQEdgeOptions2.Polarity

Data Type

CWIMAQEdgePolaritySearchModes

You can use the following constants with this data type:

  • cwimaqSearchForAllEdges—Search for all edges.
  • cwimaqSearchForFallingEdges—Search for falling edges.
  • cwimaqSearchForRisingEdges—Search for rising edges.

Purpose

Specifies the polarity of the edges to be found.