ClearanceCondition Property
Applies To
Vision Objects: Arc Finder, Blob, Correlation, Defect Finder, Edge, Geometric, Line Finder, Polar
Description
Specifies how to judge clearance.
Usage
VGet Sequence.Object.ClearanceCondition, var
VSet Sequence.Object.ClearanceCondition, value
- 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
- Integer variable that will contain the value of the property.
- value
- Integer value or expression for the new value of the property.
Values
- 1 - Found
- Vision constant: VISION_CLEARANCECOND_FOUND
- Clearance is OK if the object is found.
- 2 - NotFound
- Vision constant: VISION_CLEARANCECOND_NOTFOUND
- Clearance is OK if the object is not found.
Default: 1 - Found
Remarks
ClearanceCondition is used to judge whether clearance is OK when CheckClearanceFor specifies an object.
When ClearanceCondition is Found and the object result is found, then ClearanceOK is set to “True”. When ClearanceCondition is NotFound and the object result is not found, then ClearanceOK is set to “True”.
See Also
CheckClearanceFor Property, ClearanceOK Result