Length Result
Applies To
Vision Objects: ArcInspector, Line, LineFinder, LineInspector
Description
Returns a distance between the starting and ending points of the line in millimeters in the camera coordinate system.
Usage
VGet Sequence.Object.Length[(result)], 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.
- result
- Optional integer result number from 1 to the NumberOfResults property. If omitted, the result number is the CurrentResult.
Values
The value returned is always in millimeters and may be from 0 on up. This actual number represents the length of the line in the camera coordinate system 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.
The Length result can be used for inspection and measurement applications where measurements are required. (For example, to measure spark plug gaps.)
For ArcInspector and LineInspector, Length is the length of a defect area.
See Also
ArcInspector Object, Calibration, Line Object, LineInspector Object, PixelLength Result