Create a CogRunStatus object from the supplied RunStatus object.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.VisionInterop (in Cognex.VisionPro.VisionInterop.dll) Version: 85.1.0.0
Syntax
Parameters
- visionStatus
- Type: Cognex.Vision IRunStatus
The source of our status information.- If this parameter is not null, then its Result, Message, ProcessingTime, and TotalTime fields are transcribed to the new CogRunStatus.
- If this paramter is null, then the new Result field is set to Error, the Message field gets an appropriate error message, and the ProcessingTime and TotalTime fields are set to zero.
Return Value
Type: CogRunStatusA newly constructed CogRunStatus.
See Also