Add Array Elements Function

Returns the sum of all the elements in numeric array.

The connector pane displays the default data types for this polymorphic function.


icon

Inputs/Outputs

  • c1ddbl.png numeric array

    numeric array can have any number of dimensions.

  • idbl.png sum

    sum is of the same data type and structure as the elements in numeric array.

  • Note You cannot use this function with fixed-point numbers. If you wire fixed-point numbers to this function, the VI appears with a broken Run button.

    Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Numerics\Numeric Functions.vi