Add Array Elements PtByPt VI

Owning Palette: Other Functions PtByPt VIs

Requires: Full Development System

Returns the sum of all elements determined by sample length.

This VI is similar to the Add Array Elements function.

Note  By default, reentrant execution is enabled in all Point By Point VIs.

 Add to the block diagram  Find on the palette
initialize, when TRUE, initializes the internal state of the VI.
input data point is an input data point.
sample length is the length of each set of incoming data. The VI performs computation for each set of data. The default is 100. When you set sample length to zero, the VI calculates a cumulative solution for the input data from the time that you called or initialized the VI. When the sample length setting is greater than zero, the VI calculates the solution for only the newest set of input data.
sum is the sum of the input data points. The history length is determined by the last sample length.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.