From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read max and min value from every column

Solved!
Go to solution

Dear qudoe

 

i am trying to make one programme in labview which challenge me to fight with a time.

 

here i am attaching my labview code in which i have one data file, which consists 500 columns from that i have to find min value and max value from every column.

 

i tried my best but it takes 30seconds to find min and max value from every column.

 

i want to perform this operation within a second.

 

so can any one suggest me any correction required which can boost my program.

Download All
0 Kudos
Message 1 of 3
(2,423 Views)
Solution
Accepted by topic author hussey

You don't have to open and close the file all the time and also you don't really need a while loop to do this. Check the code attached.

 

Read_Anand.png

 

Certainly you can still optimize it to get better performance, I just made a quick draft to show you how simple it is.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 3
(2,414 Views)
Solution
Accepted by topic author hussey

ok 

 

thanks a lot it works very fine

 

0 Kudos
Message 3 of 3
(2,400 Views)