LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calculate temperature stability

Solved!
Go to solution

Hello,

 

I am working on a subVi for my project that I need to calculate temperature stability of a channel.  Our definition of channel stability is that the average temperature of three consecutive five minute samples varies no

more than +/- 1.5 degF at the measured location.  I am fairly new to programming with LabVIEW and I am looking for any suggestions that could help point me in the right direction.

 

Thanks in advance,

 

Vince.

0 Kudos
Message 1 of 4
(4,347 Views)

Read your temperature in a loop.  Say take a sample every second and build a circular buffer so you have 300 samples (5 minutes at 1 second each) then perform an array min max and subtract the max from the min.  After taking the 301st sample throw away your oldest.  Oh and don't attempt to exit until your buffer has 300 samples in it because doing the array min max on one sample will return a delta of 0.  What part are you having trouble with?  Do you have some code to show what you've tried?

0 Kudos
Message 2 of 4
(4,308 Views)
Solution
Accepted by topic author VinceGenuardi

Here is an "Action Engine" I wrote a long time ago to do just that..

 

T-Stab.png

========================
=== Engineer Ambiguously ===
========================
Message 3 of 4
(4,296 Views)

That is exactly what I was looking for.

 

Thanks so much!

0 Kudos
Message 4 of 4
(4,263 Views)