EndPointObject Property
Applies To
Vision Objects: Contour, Edge, Line, LineInspector
Description
Specifies the vision object to use for the end point of a Line object.
Usage
VGet Sequence.Object.EndPointObject, var
VSet Sequence.Object.EndPointObject, 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
- String variable that will contain the value of the property.
- value
- String or string expression for the new value of the property. Valid vision objects for the EndPointObject property are:
ArcFinder, ArcInspector, Blob, BoxFinder, Coordinates, CornerFinder, Correlation, DefectFinder, Edge, Geometric, Line, LineFinder, LineInspector, Point, and Polar objects. The Screen may also be used as the EndPointObject.
Values
Screen or any object that runs prior to the Line object.
Default: Screen
Remarks
When a Line object is first created, the EndPointObject property is set to Screen. However, Line objects are normally attached to other vision objects. This is the purpose of the StartPointObject and EndPointObject properties. Through these two properties the user can define a line between any two vision objects. (except Frames).
Frame objects cannot be used to define an end point for a Line object. However, this does not cause a limitation because Frames are defined by other vision objects. In those cases where you want to define a line end point with a Frame object, use a Point object in the frame to define the end point of the Line object.
It is important to note that for each specific vision sequence, only those vision objects which are executed in a step prior to the Line object in the vision sequence steps will be available to use as an EndPointObject.
See Also
Edge Object, EndPointType Property, Contour Object, Line Object, LineInspector Object, StartPointObject Property