CogOutputLine LineNumber Property Cognex VisionPro 9.20
Returns the logical line number of the I/O line. Refer to your hardware documentation for the equivalence between logical line numbers and physical lines.

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

public int LineNumber { get; }

Property Value

Type: Int32
Remarks

Returns the logical line number of the I/O line. Refer to your hardware documentation for the equivalence between logical line numbers and physical lines.

Some Cognex frame grabbers are available in several configurations which affect the relationship between logical line numbers and physical connections. These configurations are described in your frame grabber's hardware manual. VisionPro reads the I/O configuration from the VisionPro.ini in the Windows or WINNT directory. Make sure that the configuration described in this file matches your frame grabber.

See How to Use I/O Lines for a list of topics that describe the mappings for different frame grabbers.

See Also