Configures an output line to react to a registered I/O event in
a specific way.
Namespace: Cognex.VisionPro.Comm.Implementation.InternalAssembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 69.0.0.0
Syntax
Parameters
- outputBank
- Type: Cognex.VisionPro.Comm CogPrioBankConstants
The bank containing the output line.
- outputLineNumber
- Type: System Int32
The line number on which the configured output response occurs.
- antecedantEventNumber
- Type: System Int32
An I/O event number which will cause the configured output response each time the event occurs.
- valueToSet
- Type: Cognex.VisionPro.Comm CogPrioOutputLineValueConstants
The value that is set on the configured output line when the event occurs.
- delayType
- Type: Cognex.VisionPro.Comm CogPrioDelayTypeConstants
The type of delay (encoder or time based) to wait after the event occurs before applying the output response to the I/O line.
- delayValue
- Type: System Double
The amount of delay (encoder ticks, or milliseconds) to wait after the event occurs to apply the output response. Note that delayValue may be negative in the case of an encoder based delay.
- pulseDuration
- Type: System Double
The length of the pulse applied to the output line in milliseconds when the event occurs (set to 0 for a signal that is not pulsed).
Remarks
See Also