Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

Searching 2D array for a passed parameter

$
0
0

Right now I have a passed 2D array of strings contains 4 rows and a varying number of columns (anywhere from 0-50 columns are possible depending upon number of devices present). I'm looking for the best way to search the 2D array for a passed parameter (serial number) and if the serial number is found in the first row of the array then it should return the rest of the rows for that particular column. If no match is found nothing needs to be done.

I'm struggling with properly searching 2D arrays in Teststand. Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>