CogPrio GetNumLines Method Cognex VisionPro 9.8
Returns the number of I/O lines the hardware supports in the given bank.

Namespace: Cognex.VisionPro.Comm
Assembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 75.1.0.0
Syntax

public int GetNumLines(
	CogPrioBankConstants bank
)

Return Value

Type: Int32
The number of input or output lines in the given bank.
Remarks

Hardware platforms and supported I/O lines:

Cognex Communication Card 24C
InputBank0, Line0-Line78 general purpose inputs numbered 0-7
OutputBank0, Line0-Line1516 general purpose outputs numbered 0-15

Cognex Communication Card 24A (Cognex Vision Controller)
InputBank0, Line0-Line78 general purpose inputs numbered 0-7
OutputBank0, Line0-Line1516 general purpose outputs numbered 0-15
DS1000OutputBank0, Line0Camera 0 Enable (Not For Application Use)
DS1000OutputBank0, Line1Camera 1 Enable (Not For Application Use)
DS1000OutputBank0, Line2Camera 0 Trigger
DS1000OutputBank0, Line3Camera 1 Trigger
DS1000OutputBank0, Line4Camera 0 Control (Not For Application Use)
DS1000OutputBank0, Line5Camera 1 Control (Not For Application Use)
DS1000OutputBank0, Line6Camera 0 Power (Not For Application Use)
DS1000OutputBank0, Line7Camera 1 Power (Not For Application Use)

See Also