Decrement Array Element
- Updated2025-07-30
- 2 minute(s) read
Subtracts 1 from the specified element of a 1D array. If the array is an array of timestamps, this VI decrements the element by one second.

Inputs/Outputs
array in
—
array in specifies the 1D array with the element that you want to decrement. This input accepts an array or an array of clusters of the following data types:
index
—
index specifies the index of the element in the array that you want to decrement. This input accepts a signed 32-bit integer or an array of signed 32-bit integers.
array out
—
array out returns the 1D array with the specified element decremented. |
array in
—
index
—
array out
—