Visresult_Object InspectActual Property

Returns a Double that indicates the value of the tool property that was tested in the vision inspection process.

...visresult_object.InspectActual

Prerequisites

Only returns meaningful data for results generated by a vision tool whose output includes the InspectActual property in PreciseVision.

Parameters

None

Remarks

This property returns the value of the vision tool property that was tested for the PreciseVision inspection process.  This is the same value as the PreciseVision InspectActual tool property. For many PreciseVision tools, a range of acceptable values can be set for a single results property for the tool.  For example, for the general object Finder Tool, the orientation angle of any located parts can be tested to ensure that they fall within a specified range. When the inspection criteria is set, each time the tool is executed, it automatically tests each set of results to see if it satisfies the criteria.  InspectActual is the property value that was tested during this process.  InspectPassed indicates the results of the test.

Examples

Dim vresult As VisResult
vresult = vobject.Result()

If vresult.InspectPassed = False Then ' Inspection failed?
If vresult.InspectActual < 10 Then ' By how much?
...

See Also

Vision Classes |visresults_object.InspectPassed