Pixelline result – Epson 5 User Manual

Page 115

Advertising
background image

PixelLine Result

PixelLine Result

Runtime only

Applies To

Vision Objects: Line

Description

Run time only result which returns the pixel coordinate position data of the starting (X1, Y1) and ending
(X2, Y2) points of the specified Line object.

Usage

VGet Sequence.Object.PixelLine, X1, Y1, X2, Y2

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.

X1

Real variable representing the X coordinate position of the starting point of the Line object
specified by Object.

Y1

Real variable representing the Y coordinate position of the starting point of the Line object
specified by Object.

X2

Real variable representing the X coordinate position of the ending point of the Line object
specified by Object.

Y2

Real variable representing the Y coordinate position of the ending point of the Line object
specified by Object.

Values

X1, X2

Real variable specified in pixels from 1 - video width.

Y1, Y2

Real variable specified in pixels from 1 - video height.

Remarks

The PixelLine result is a runtime result which provides the X1, Y1, X2 and Y2 pixel coordinate data for the
starting and ending points of the specified Line object.

The PixelLine result returns the same information as the PixelX1, PixelY1, PixelX2, and PixelY2 results.
However, it returns this information with 1 function call rather than 4 separate calls.

See Also

Line Object, Object Tab, PixelX1 Result, PixelX2 Result, PixelY1 Result, PixelY2 Result, RobotXYU
Result, RobotU Result, RobotX Result, RobotY Result

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

101

Advertising