LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scanning an array.

Hi,
I have a VI that scans a text file and then builds an array of the data that I require from that text file.

But now once I have the array built using this VI, I need to scan the complete array that is built and determine the maximum value in the fifth column of the array. This value might occur more than once but I need to determine the maximum value. After I determine the maximum value, I need to scan the array again and obtain all the first two columns of the data corresponding to the maximum value of the fifth column and build a new array with that data.


I would be very thankful if you could help me in this regard.
I am attaching the VI and the text file here.

Thanks a lot,
Ajit."
Download All
0 Kudos
Message 1 of 2
(2,529 Views)
See answer in the "Extracting numbers from a file" answer thread that Ajit asked previously.

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000090C80000&USEARCHCONTEXT_CATEGORY_0=_49_%24_6_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0

--John Lum
National Instruments
0 Kudos
Message 2 of 2
(2,529 Views)