rough day

Hello, I was wondering if someone can help me.
I'm working on these data graphics program.
my program's graphic chart xY, x for days and there is pressure in mmHG.
My test runs for several days and when it is successful, the user manually end.
I have calculated at the end of the day and know how to get that.
I want to know the slope of my memory of end of day ago 14 days or 28 days ago vs.
I know how to do this, but I have a problem trying to understand all the elements entering the days 14 days ago... I need to get all items and take the average of this...

for example. my end of day is 300.33 so 14 days ago about 280.20. (My program to find the value nearest 14 days ago)

I want to take the average of all values of day 280,20 and use it to find the slope against my end of the day. I hope it's clear.

can someone help me please?
Thanks in advance
MERRY CHRISTMAS AND HAPPY NEW YEAR!

Hi krispiekream,

It's waterlooSPEED (I submitted my previous post from home, and I guess I was not logged in on my account OR!).

I made a sample program that shows how to get a subset of your day and pressure berries.  This subset includes all data in the day the day closest to the day desired (13 days, 28 days ago or something).  I have the thing "front half a day, half a day after" because I thought, and I think it makes more sense to just values one day before the desired day.

You can call this sub - VI in your program by providing iput tables for day and pressures, as well as a value for the day desired (e.g. 165.33) and the index for the day, it's closer to you for the desired day (you mentioned in your previous post that you know how to find that).  The output of the VI will be for the day and pressure tables that include all the values that are part of the next day.  You can then take the average of these values or do whatever you want with them.

Tags: NI Software

Similar Questions

Maybe you are looking for