beautypg.com

4 measure tool, Measure tool – Banner PresencePLUS P4 COLOR Series User Manual

Page 268

background image

Examples

Assuming that you have two Math tools, my_math_tool_1 and my_math_tool_2, each
with their first operand configured as a constant. To set the constant of the second mathtool
to 100.5, issue the following command:

set mathtool my_math_tool_2 operand_1 100.5

Set Command
Example

or

set mathtool 2 operand_1 100.5

To get the constant of the second mathtool, issue the following command:

get mathtool my_math_tool_2 operand_1

Get Command Example

or

get mathtool 2 operand_1

7.6.4 Measure Tool

Measure tool can be used to measure distance, calculate angles, and create points and lines for use as inputs to other
Measure Tools.

There are three Measure Tool operations:

• Measure from a point to a point
• Intersect two lines
• Measure from a line to a point
• Measure a curve to a point
• Measure a curve to a line

In these operations, points are generated by a variety of vision tools and lines are created by Coordinate tools, Line
Detect tools, or other Measure tools.

Usage

• Determine the location of a Blob
• Determine the distance between Blobs
• Determine a distance between a Blob and a closest point on a bead
• Determine a distance between a Blob and a farthest point on a bead

Fields

The following are fields on the Measure tool Input tab:

Measure Tool Operations

on page 269

Measurement Type

on page 277

Supported Platforms

BCR/BCR
1.3

GEO/GEO
1.3

EDGE/EDGE
1.3

AREA/AREA1.3

OMNI/OMNI
1.3

OMNI
Color

ProII/ProII
1.3

ProII Color

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Banner Engineering Corp.

Minneapolis, MN USA

268

2/2010

PresencePLUS Software Tools

This manual is related to the following products: