LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the maximum value of acquired data of loop?

I am PhD student and got stuck at problem described below. 

I am using USB 6341 for acquiring voltage data from temperature sensor.
The voltage over the time increases as the temperature goes down in my setup.

As it can be seen (see the attachment) that the voltage data are not constant but fluctuating with respect to time (even it goes down to negative). 

What I want now is to get the maximum value of voltage that got acquired within 15 seconds duration. 

That means, it should give me maximum value of 15 data or voltage readings and I want only ONE maximum reading from this sample. 
I can use the loop but do not know how to get maximum value out of many acquired data. Which inbuilt function should I use?

Please send me image of VI if possible (As I am from Mechanical Background, Do not know much about programming).

Thanking You. 

0 Kudos
Message 1 of 2
(2,529 Views)

Use this function (Array Max & Min PtByPt VI) and set the sample length for 15 seconds worth of data. Graph the max value.

0 Kudos
Message 2 of 2
(2,499 Views)