Quick Scale 1D PtByPt (Not in Base Package)

Determines the maximum absolute value of the set of input data and then scales the data using the absolute value.

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[i]=X[i]/Max|X| is the output.
max|X| is the maximum absolute value in the set of input data.
error returns any error or warning condition from the VI. Refer to Point By Point Error Codes for more information about these conditions.