CreateFromPoints Method

NI Vision for Visual Basic

CreateFromPoints Method

Syntax

CWIMAQMeterArc.CreateFromPoints LightNeedle, NeedleBase, MinimumNeedlePosition, MaximumNeedlePosition

Purpose

Calibrates the meter or gauge using three points on the meter: the base of the needle, the tip of the needle at its initial position, and the tip of the needle at its full-scale position. This method calculates the position of the points along the arc covered by the tip of the needle.

Parameters

LightNeedle As Boolean

If this parameter is True, then the needle is a light color on a dark background. If the parameter is False, the needle is a dark color on a light background.

NeedleBase As CWIMAQPoint

The coordinates of the base of the needle

MinimumNeedlePosition As CWIMAQPoint

The coordinates of the tip of the needle when the needle is at the minimum position.

MaximumNeedlePosition As CWIMAQPoint

The coordinates of the tip of the needle when the needle is at the maximum position.

Example

Meter Example

See Also

CreateFromLines