Table Of Contents

Search 1D Array (G Dataflow)

Last Modified: January 9, 2017

Searches for an element in a 1D array starting at a specified index. Because the search is linear, you need not sort the array before calling this node. The node stops searching as soon as the element is found.


1D array

A 1D array of any type.



The value to search for in the input array.

The representation of element should match the representation of 1D array.


start index

The index of 1D array to start searching for element.

Default: 0


index of element

The index of 1D array where element is found.

If the node does not find element, index of element is -1.

Where This Node Can Run:

Desktop OS: Windows

FPGA: All devices (only within an Optimized FPGA VI)

Recently Viewed Topics