CogJob Shutdown Method Cognex VisionPro 9.7
Shutdown terminates all internal threads inside the CogJob. Shutdown also disposes of any contained acquisition fifo and vision tools. Shutdown must be called to allow the CogJob to cleanly terminate. After the CogJob has shutdown, it cannot be run again. Do not persist (save) a shutdown CogJob, since it cannot be run again, even after de-persisting it.

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

public void Shutdown()
Remarks

Shutdown  must be called when you are done using the CogJob object. Failure to call Shutdown  will cause the CogJob to hang.
Examples

See Also