Construct a new i/o event line cause
Namespace: Cognex.VisionPro.CommAssembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 69.0.0.0 (69.0.0.0)
Syntax
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
| Exception | Condition |
|---|---|
| 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