Scalepnt.vi – Measurement Computing UL for NI LabVIEW User Manual

Page 49

Advertising
background image

Universal Library Virtual Instruments (VIs)

Signal conditioning VIs

ScalePnt.VI

Scales raw data point to a user-specified range.

Summary:

Inputs:

Min

[SGL] - Lower limit of range

Max

[SGL] - Upper limit of range

16 or 12 bits

[TF] - Length of raw data; 1-16 bits (T), or 1 to 12 bits

(F = default)

ADData

[U16] - Unconverted data array single element.

Output:

Val

[SGL] - Converted data array element

ErrCode

[I32] - Error code. See ErrMsg.VI

Arguments:

Min

Lower limit of selected range.

Max

Upper limit of selected range.

16 or 12 bit

Length of data to be converted. Depends on the type of hardware being used.

ADData

Array element with unconverted raw data.

Val

Converted engineering data.

ErrCode

Error code returned from the Universal Library. Zero if no error occurred. Use the

ErrMsg VI to convert

ErrCod

e into a readable string.

49

Advertising