CogPrioImpl ConfigureOutputLineResponse Method Cognex VisionPro 9.25 SR1
Configures an output line to react to a registered I/O event in a specific way.

Namespace: Cognex.VisionPro.Comm.Implementation.Internal
Assembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 93.1.0.0
Syntax

public virtual void ConfigureOutputLineResponse(
	CogPrioBankConstants outputBank,
	int outputLineNumber,
	int antecedantEventNumber,
	CogPrioOutputLineValueConstants valueToSet,
	CogPrioDelayTypeConstants delayType,
	double delayValue,
	double pulseDuration
)

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

Note: pulseDuration is ignored when valueToSet is "Toggle"; "Toggling" an output line is always results in a single transition and never a pulse.
See Also