CogIOMCB GetLineEnabled Method Cognex VisionPro 9.10
Is the specified line on this device currently enabled. If the answer is false, you will be prevented from writing to or reading from this line.

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

public bool GetLineEnabled(
	int line
)

Parameters

line
Type: System Int32
The line number. Must be in the range 0 to 23 inclusive.

Return Value

Type: Boolean
Whether or not the specified line is enabled.
Exceptions

ExceptionCondition
ObjectDisposedException If this CogIOMCB object has already been disposed.
ArgumentOutOfRangeException If the line argument is less than zero or greater than 23.
See Also