Table Of Contents

Subtract (G Dataflow)

Last Modified: January 23, 2017

Computes the difference between numbers, timestamps, or waveforms.

You cannot subtract a timestamp from a numeric value.

connector_pane_image
datatype_icon

x

The value to subtract from.

This input supports scalar numbers, enumerated type values, timestamps, waveforms, and any data type that contains only these data types, such as an array or cluster of numbers.

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

y

The value to subtract from the other input.

This input supports scalar numbers, enumerated type values, timestamps, waveforms, and any data type that contains only these data types, such as an array or cluster of numbers.

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.

Default: No error

datatype_icon

x - y

The difference between the two 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

Error information. The node produces this output according to standard error behavior.

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

Where This Node Can Run:

Desktop OS: Windows

FPGA: All devices (only within an Optimized FPGA VI)


Recently Viewed Topics