beautypg.com

Pixelx2 result – Epson 5 User Manual

Page 118

background image

PixelX2 Result

PixelX2 Result

Applies To

Vision Objects: Line

Description

Returns the pixel X coordinate of the end point of a Line object.

Usage

VGet Sequence.Object.PixelX2, 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

Min: 0
Max Video width- 1

Remarks

Every line must have a starting point and ending point. The PixelX1 and PixelX2 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 (PixelX1, PixelY1) and (PixelX2,
PixelY2) coordinate pairs can actually be pixel coordinate positions which match the PixelX and PixelY
results for other vision objects. (In other words if a Line object's endpoint is defined by a Correlation
object, then the (PixelX, PixelY) results from the Correlation object will match the (PixelX2, PixelY2)
results for the Line object.)

See Also

Angle Result, Line Object, Object Tab, PixelX Result, PixelX1 Result, PixelY Result, PixelY1 Result,
PixelY2 Result, RobotX Result, RobotXYU Result, X1 Property, X2 Property, Y1 Property, Y2 Property

104

Vision Guide 5.0 Reference (Ver.5.3) Rev.1