CogJob IOValidate Method Cognex VisionPro 9.21
This function detects all the possible I/O configuration errors and returns them in a string. The user must call this routine after adding a new CogJob to the CogJobManager. This routine enables all the I/O lines, if possible, that are used by this job.

Namespace: Cognex.VisionPro.QuickBuild
Assembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 83.0.0.0 (83.0.0.0)
Syntax

public string IOValidate()

Return Value

Type: String
Returns Sting.Empty when no error is detected. Otherwise, retuns a string that contains a list of a device name followed by a board index followed by an output line number, e.g., "Cognex 8504 - 0, 1";"Cognex 8504 - 1, 2";"Cognex 8501 - 0, invalid IOConfig"
See Also