CogPrioEventCauseLine Constructor (CogPrioBankConstants, Int32, CogPrioLineTransitionConstants)Cognex VisionPro 9.21
Construct a new i/o event line cause

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

public CogPrioEventCauseLine(
	CogPrioBankConstants lineBank,
	int lineNumber,
	CogPrioLineTransitionConstants lineTransition
)

Parameters

lineBank
Type: Cognex.VisionPro.Comm CogPrioBankConstants
The bank of the line which causes the event
lineNumber
Type: System Int32
The index of the line number which causes the event
lineTransition
Type: Cognex.VisionPro.Comm CogPrioLineTransitionConstants
The line transition which cause the event
Exceptions

ExceptionCondition
CogPrioInvalidBankException Thrown lineBank is set to an output bank... output lines cannot cause i/o events in this release.
CogPrioInvalidLineException Thrown lineNumber is set to an invalid line number.
See Also