AbortSeqOnFail Property

Applies To
Vision Objects: All vision objects other than Decision and Coordinates

Description
Allows the user to specify that if an object fails (i.e. is not passed), then the entire sequence is aborted at that point and no further objects are processed.

Usage

VGet  Sequence.Object.AbortSeqOnFail, var
VSet  Sequence.Object.AbortSeqOnFail, 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
Boolean variable that will contain the value of the property
value
Boolean value or expression for the new value of the property.

Value

  • 0 - False: Does not cause the sequence to abort when the object is not found.
  • -1 - True: Causes the sequence to abort when the object is not found.

Default: False

Remarks
Use AbortSeqOnFail when you no longer want a sequence to continue if an object is not passed.

See Also
Blob Object, ColorMatch Object, Correlation Object, Edge Object, Frame Object, Geometric Object, Line Object, Point Object, CodeReader Object, OCR Object, Polar Object, LineFinder Object, ArcFinder Object, DefectFinder Object, ArcInspector Object, LineInspector Object