Found Result
Applies To
Vision Objects: ArcFinder, ArcInspector, Blob, BoxFinder, CodeReader, Contour, CornerFinder, Correlation, Defect Finder, Edge, Frame, Geometric, Line, LineFinder, LineInspector, OCR, Point, Polar, Text, Coordinates
Description
Returns whether the object was found.
Usage
VGet Sequence.Object.Found [(result)], var
- Sequence
- Name of a sequence or string variable containing a sequence name.
- Object
- Name of an object or string variable containing an object name. The object must exist in the specified sequence.
- var
- Boolean variable that will contain the value of the result.
- result
- Optional result number. If omitted, the result number is the CurrentResult. Used for objects that return multiple results.
Values
- 0 - False: The part was not found
- -1 - True: The part was found
Remarks
The Found result simply returns whether the part or the current object is looking for was found. For example, and Edge Object returns whether an Edge was found and a Correlation object returns whether an image was found which matches the taught model.
The Found result also can be acquired by the RobotXYU, PixelXYU, and CameraXYU results.
You can also configure how an object is considered to be Passed by using PassType. For example, set PassType = AllNotFound for DefectFinder object to consider the result as failed if there was a found object (defect).
See Also
Blob Object, CameraXYU Result, CodeReader Object, Correlation Object, CurrentResult Property, DefectFinder Object, Edge Object, FoundOnEdge Result, Frame Object, Geometric Object, Line Object, LineFinder Object, ArcFinder Object, NumberFound Result, NumberToFind Property, OCR Object, Passed Result, Point Object, Polar Object, RobotXYU Result, Score Result, PassType Property, BoxFinder Object, Contour Object, CornerFinder Object, Text Object, Coordinates Object