Scale 1D PtByPt (Not in Base Package)

Determines scale and offset and then scales the set of input data using these values.

initialize, when TRUE, initializes the internal state of the VI.
input data is a set of input data.
sample length is the length of each set of incoming data. The VI performs computation for each set of data. The default is 100. sample length must be greater than zero.
Y=(X-offset)/scale is the output array.
scale is the scaling factor.
offset is the offset factor.
error returns any error or warning condition from the VI. Refer to Point By Point Error Codes for more information about these conditions.