Unit Vector PtByPt (Not in Base Package)

Finds the norm of the set of input data and obtains its corresponding Unit Vector by normalizing the original set of input data with its norm.

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.
Unit Vector is the output, normalized vector.
norm is the norm of the data.
error returns any error or warning condition from the VI. Refer to Point By Point Error Codes for more information about these conditions.