CogInputLine Enabled Property Cognex VisionPro 9.21 SR1
Read or set whether this line is enabled. For bidirectional lines, check the CanBeEnabled property to see whether this line can be enabled.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 85.1.0.0
Syntax

public bool Enabled { get; set; }

Property Value

Type: Boolean
Events

Event TypeReason
CogInputLine Changed

Fires when the enabled state changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
FAILException

This line cannot be enabled.

Remarks

Sets or gets whether this line is enabled. For bidirectional lines, check the CanBeEnabled property to see whether this line can be enabled.

See Also