LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to find maximum and minimum value for different iterations of while loop

how can I find the minimum value from a XY graph for different iterations of while loop. I have a XY graph , i need to find the minimum value at each operation of the loop. In the way such that I hve to plot a graph with minimum against time. How can I do it please reply

0 Kudos
Message 1 of 7
(5,623 Views)
It seems to me that the same question was asked and answered already.

http://forums.ni.com/t5/LabVIEW/how-can-I-find-the-minimum-in-real-time/m-p/2716891
0 Kudos
Message 2 of 7
(5,607 Views)

Hi perumpadapu,

 

You might want to look at a function called "Array Max & Min" where you can extract a minimum or maximum value inside an array.

You can also get index information of the array as well.

 

Best regards,

TuiTui

0 Kudos
Message 3 of 7
(5,603 Views)

it's not the same question, there it is different, here it is different, here i have to start the while loop again and again and I have to see the minima .

0 Kudos
Message 4 of 7
(5,599 Views)
The answer is still the same.
0 Kudos
Message 5 of 7
(5,596 Views)

Hi Perumpadapu,

 

Do you mean you want to see the minimum value of every loop and retain the information?

If this is the case, you might want to use "build array" and shift register to put the value in each loop into array. However, you might want to consider about the memory if you are using build array.

 

Concept of shift register can be found in this link below

http://www.ni.com/gettingstarted/labviewbasics/shiftregisters.htm

 

Hope this help


Best regards,

TuiTui

0 Kudos
Message 6 of 7
(5,593 Views)