Search Waveform VI
- Updated2025-07-30
- 3 minute(s) read
Returns the time value in x for the value specified.

Inputs/Outputs
tolerance (%)
—
tolerance is the percent tolerance on the input value for a match. The default is 0.01.
waveform in
—
waveform in is the waveform you want to search for a particular data value. The default is empty.
value
—
value is the data value for which you want to search. The default is 0.
start index
—
start index defines the point in the waveform data where the search begins. The default is 0, the beginning of the waveform. The VI returns an error if start index is out of range for the waveform.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
indices of fits
—
indices of fits is an array of indexes of all values that meet the input value and tolerance criteria.
waveform out
—
waveform out returns waveform in unchanged.
index of best fit
—
index of best fit is the index of the data value that best matches the input value.
time of best fit
—
time of best fit is the time value where the data value that best matches the input value was found.
error out
—
error out contains error information. This output provides standard error out functionality.
time of fits
—
time of fits is an array of all time values of all values that meet the input value and tolerance criteria. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Waveform\Waveform - Search.vi
tolerance (%)
—
waveform in
—
start index
—
error in (no error)
—
indices of fits
—
waveform out
—
index of best fit
—
time of best fit
—
error out
—
time of fits
—