CogCoreConverters MakeCogRunStatus Method Cognex VisionPro 9.10
Create a CogRunStatus object from the supplied RunStatus object.

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

public static CogRunStatus MakeCogRunStatus(
	IRunStatus visionStatus
)

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: CogRunStatus
A newly constructed CogRunStatus.
See Also