IRunStatus InterfaceCognex VisionPro 9.10

This interface is returned by the RunStatus property of the ITool interface and provides general information about the last call to the tool's Run method. Note that serious errors that occur within the tool's Run method may only be detected by examining the RunStatus after calling Run. It is the user's responsibility to examine the tool's RunStatus after calling Run.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax

public interface IRunStatus : IObject

The IRunStatus type exposes the following members.

Properties

  NameDescription
Public propertyMessage

Returns an empty string if the result was Accept, and otherwise returns a string that provides additional information about the Warning, Reject, or Error condition.

Public propertyProcessingTime

Returns the time in milliseconds taken to perform the tool's processing when its Run function was called. This excludes the time taken by event handlers connected to the tool.

Public propertyResult

Gets a result code that indicates the overall result of running the tool.

Public propertyTotalTime

Returns the total time in milliseconds taken by the tool's Run function. This includes the time taken by event handlers connected to the tool.

Top
See Also