Length Result
Applies To
Vision Objects: Line
Description
Returns a length in millimeters of the distance between the starting and ending point of the line.
Usage
VGet Sequence.Object.Length, 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 Integer variable that will contain the value of the result.
Values
The value returned is always in millimeters and may be from 0 on up. This real number represents the
length of the line and depends upon calibration in order to return a value.
Remarks
The Length result can only be returned if calibration has been performed because the length is measured in
millimeters. This calibration can be done with or without the robot.
The Length result can be used for inspection and measurement applications where measurements are
required. (For example, to measure spark plug gaps.)
See Also
Calibration, Line Object, Object Tab, PixelLength Result
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 63