Decrement Array Element VI

Owning Palette: Array VIs and Functions

Requires: Base Development System

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.

 Add to the block diagram  Find on the palette
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:
  • Numbers
  • Timestamps
  • Analog Waveforms
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 returns the 1D array with the specified element decremented.