From 6:00 PM CST Friday, Feb 15th - 2:00 AM CST Sunday, Feb 17th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Increment (Multirate Dataflow)

Last Modified: September 28, 2017

Adds 1 to the input value.

connector_pane_image
datatype_icon

x

The value to increment by 1. This input supports scalar numbers and fixed-size 1-dimensional arrays of numbers.

  • scalar numbers
  • enumerated type values
  • an array or cluster of numbers
  • an array of clusters of numbers
  • waveforms

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

x + 1

The result of the increment operation.

Behavior with Timestamps and Enumerated Values

If x is a timestamp value, this node increments the time by one second. If x is an enumerated type value and you select the last enum value, this node returns the first enum value.

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.

Where This Node Can Run:

Desktop OS: Windows

FPGA: All devices

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics