CogIODiscreteDevice Constructor (String, Int32)Cognex VisionPro
Base class for all Cognex frame grabber's discrete I/O.

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

public CogIODiscreteDevice(
	string deviceName,
	int deviceIndex
)

Parameters

deviceName
Type: System String
Name of Cognex I/O device.
deviceIndex
Type: System Int32
Index of this discrete I/O device object. An index starts from 0.
See Also