ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i get the highest and lowest data readings from a large set of readings?

 
0 Kudos
Message 1 of 4
(3,065 Views)
If the data is in an array, use the Array Max and Min function.
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 4
(3,063 Views)
i tried that but it just spits out the last number of the readings .....and its not an array it just a continuous stream of pressure readings but i dont know how to tell labview to pick out the largest and lowest and print it to the front panel.
0 Kudos
Message 3 of 4
(3,060 Views)
Hi Veni,

As I understand you, you get continuous scalar values (one number at a time - not an array) and want to keep the minimum and maximum value since the application started. There are different ways to do this but I will show you the easiest way, that DOESN'T involve appending the data to a continuously growing array:



Please try this out and let me know if it's not what you wanted, thanks.

Have Fun!

Message Edited by Philip C. on 09-22-2005 12:26 AM

- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 4 of 4
(3,050 Views)