beautypg.com

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

Page 48

background image

Universal Library Virtual Instruments (VIs)

Signal conditioning VIs

ScaleArr.VI

Scales raw data from an entire array to a user-specified range.

Summary:

Inputs:

Min

[SGL] - Lower limit of range

Max

[SGL]- Upper limit of range

16 or 12 bit

[TF] - Length of raw data; 1 to 16 bits (True), 0 to 12 bits (False =

default).

ADData

[U16] - Unconverted data array

Output:

Val

[SGL] - Converted data array

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 with unconverted raw data.

Val

Array with 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.

48