Reversed Result

Applies To
Vision Object: Geometric

Description
Returns the polarity of the found object.

Usage

VGet  Sequence.Reversed[(result)], var
Sequence
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 representing the result value
result
Optional result number. If omitted, the result number is the CurrentResult. Used for objects that return multiple results.

Values

  • -1 True : An object was found whose polarity is the reverse of the original model.
  • 0 False : An object was found whose polarity is the same as the original model.

Remarks
Returns the polarity of the found object. When the model is a black workpiece on a white background, this result returns “False” if the same black workpiece on a while background is found, and returns “True” if the white workpiece on a black background is found.

If the SearchPolarity property is set to “1 - Find objects with same polarity or reverse polarity”, this result will always return “False”.

See Also
Geometric Object, SearchPolarity Property