Add

Computes the sum of the inputs.

You cannot add two timestamp values together.

1378

Inputs/Outputs

datatype_icon

input

An input to this operation.

This input supports scalar numbers, arrays or clusters of numbers, arrays of clusters of numbers, timestamps, or waveforms.

Behavior with Timestamps

You cannot add two timestamp values together. If you wire two timestamp values to this node, the code does not run.

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

This input appears only when you wire a waveform to input.

Standard Error Behavior

datatype_icon

sum

The sum of the inputs.

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this output has a default data type that uses fewer hardware resources at compile time.

datatype_icon

error out

The node produces this output according to standard error behavior.

This output appears only when you wire a waveform to input.

Standard Error Behavior