EditPoint

Inserts an interactive point control into the spreadsheet. When the control is clicked, the display switches to Interactive Graphics Mode, where the position of the point can be adjusted. For more information, see Interactive Graphics Mode.

Note: To access the property sheet for EditPoint, right-click the EditPoint control and select Edit Function.

EditPoint Inputs

Syntax: EditPoint(Image,Fixture.Row,Fixture.Column,Fixture.Theta,Move,Name,Show)

Parameter Description
Image This parameter must reference a spreadsheet cell that contains an Image data structure; by default, this parameter references A0, the cell containing the AcquireImage Image data structure. This parameter can also reference other Image data structures, such as those returned by the Vision Tool Image functions or Coordinate Transforms Functions. For more information, see Image or Coordinate Transforms Functions.

Fixture

Specifies the image coordinate system in which the input point is defined.

Row

The row offset, in image coordinates.

Column

The column offset, in image coordinates.

Theta

The orientation, in fixture coordinates.

Move

Disables or enables the ability to adjust the input point position.

0 = OFF

The input point cannot be moved.

1 = ON (default)

The input point can be moved.

Name

Specifies a text label for the EditPoint control element in the spreadsheet.

Show

Specifies the display mode for the EditPoint graphics overlay on the image.

0 = hide all

The point will be hidden, except when the cell containing the EditPoint function is highlighted in the spreadsheet.

2 = input graphics only

The point will be displayed at all times.

EditPoint Outputs

Results

A result table will automatically be created in the cells adjacent to the right of the EditPoint control.

EditPoint Vision Data Access Functions

The following Vision Data Access functions are automatically inserted into the spreadsheet to create the result table. For more information, see Structures.

Row

GetRow(Line)

The row offset, in image coordinates.

Col

GetCol(Line)

The column offset, in image coordinates.