Searches for a value in an ordered array starting at a specific index.
This node works on the assumption that an array of tabulated values of the dependent variable is in monotonically increasing or decreasing order. Therefore, this node can efficiently search for the relative index of the location of a specific value within the array.
Tabulated values of the dependent variable in monotonically increasing or decreasing order.
Value whose relative location the node needs to find within the input array.
The assumed initial search location.
This value is usually set to the index of a previous search when the values to locate tend to be near each other in subsequent searches. The closer the starting index is to the true location of xi, the faster the search.
Default: 0
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Relative index value of location of the value you specified.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
This node starts the search at starting index and begins by using a fast hunting phase to roughly bracket the location and then narrows to the final bracket using a bisection search. This node computes fractional index by using linear interpolation.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application