CreateFromLines Method

NI Vision for Visual Basic

CreateFromLines Method

Syntax

CWIMAQMeterArc.CreateFromLines LightNeedle, InitialNeedlePosition, FullScaleNeedlePosition

Purpose

Calibrates the meter or gauge using the initial and the full-scale position of the needle. This method calculates the position of the base of the needle and the arc traced 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.

InitialNeedlePosition As CWIMAQLine

The initial position of the needle. The line is defined from the base to the tip of the needle.

FullScaleNeedlePosition As CWIMAQLine

The full-scale position of the needle. The line is defined from the base to the tip of the needle.

Example

Meter Example

See Also

CreateFromPoints