03-29-2017 12:23 PM
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.
Solved! Go to Solution.
03-29-2017 02:53 PM - edited 03-29-2017 02:54 PM
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?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
03-29-2017 03:58 PM
Here is an "Action Engine" I wrote a long time ago to do just that..
03-31-2017 07:15 AM
That is exactly what I was looking for.
Thanks so much!