CameraX2 Result
CameraX2 Result
Applies To
Vision Objects: Line
Description
Returns the end point position (X2) of a Line object in Camera coordinates.
Usage
VGet Sequence.Object.CameraX2, 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 Real variable that will contain the value of the result.
Values
The value returned for the CameraX2 result depends upon the calibration used for the camera. Values are
always returned in millimeters.
Remarks
Every line must have a starting point and ending point. The CameraX1 and CameraX2 results represent the
X coordinate position starting (X1,Y1) and endpoints (X2,Y2) of the specified Line object. Since Line
object starting and endpoints can be assigned to other vision objects, the (CameraX1, CameraY1) and
(CameraX2, CameraY2) coordinate pairs can actually be Camera coordinate positions which match the
CameraX and CameraY results for other vision objects. (In other words if a Line object's starting point is
defined by a Correlation object, then the (CameraX, CameraY) results from the Correlation object will
match the (CameraX1, CameraY1) results for the Line object.)
It should be noted that the CameraX2 result can only be calculated for vision sequences which have been
associated with a calibration. If no calibration has been assigned to the vision sequence then if VGet is
used to retrieve the CameraX2 result, an error will occur.
See Also
Angle Result, CameraX1 Result, CameraY1 Result, CameraY2 Result, Line Object, Object Tab, PixelX
Result, PixelX2 Result, RobotX Result, RobotXYU Result, X1 Property, X2 Property, Y1 Property, Y2
Property
24 Vision Guide 5.0 Reference (Ver.5.3) Rev.1