CogIODiscreteDevice IsInputAsserted Method Cognex VisionPro 9.22
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: 87.0.0.0 (87.0.0.0)
Syntax

public abstract bool IsInputAsserted(
	int line
)

Parameters

line
Type: System Int32
The line number to read.

Return Value

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