CogNdm NotifyJobState Method Cognex VisionPro 9.10
Notify the remote device (PLC) which job is loaded.

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

public virtual void NotifyJobState(
	params int[] jobIDs
)

Parameters

jobIDs
Type:  System Int32 
The list of currently loaded job ids, sorted by job slot. An empty job slot has a job id of -1. The current software only supports a single job slot. The current NDM layout requires valid jobIDs fit in the range of unsigned 16 bit integers [0,65535].
Exceptions

ExceptionCondition
CogFfpInvalidOperationException Thrown if a jobID is not valid for the current NDM layout, the current NDM layout requires jobIDs fit in the range of unsigned 16 bit integers [0,65535].
NotImplementedException Thrown if jobIDs contains more than a single element.
ArgumentNullException Thrown if jobIDs is null.
ArgumentException Thrown if jobIDs is empty.
See Also