CogIODiscreteDevice IsInputAsserted Method Cognex VisionPro 9.7
Reads the current state of an input line.

Namespace: Cognex.VisionPro.QuickBuild.IO
Assembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 73.0.0.0 (73.0.0.0)
Syntax

public abstract bool IsInputAsserted(
	int line
)

Return Value

Type: Boolean
true if line is asserted as defined by the polarity of the line.
See Also