CogIODiscreteDevice SetCallDelegate Method Cognex VisionPro 9.10
Turn on or off a delegate function call assigned to line. You can assign delegate functions to all input lines at the beginning, and control an input line change notification using this function.

Namespace: Cognex.VisionPro.QuickBuild.IO
Assembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 79.0.0.0 (79.0.0.0)
Syntax

protected abstract void SetCallDelegate(
	int line,
	bool callit
)

Parameters

line
Type: System Int32
The input line of interest
callit
Type: System Boolean
The delegate function will not be called when callit is to set false.
See Also