mattjsayers
Member
Hello all,
The task at hand is a little tricky for me... a novice at best...
This is all about an alarm and storing data into rs batch.
I have an air flow instrument (AI). I have a setpoint on this flow instrument = value of 1440 +/- 175. + is high - is low.
I currently have a simple compare set up for High and low alarm..simple enough...NOW....
I need to add a moving average of that flow instrument input (AI)into a 60 register array by collecting that data every second for 60 seconds. Once I have the data (60 seconds worth) I need to calculate the average. Once the average has been calculated I need to begin storing the min and max of the average. And continue do so every second after the first 60 seconds.
Classic case of I know what I need to do....I just have no direction to do it.. Any help would be awesome..step by step would be great.
Oh yeah.. I only have 990 words left out of 101410 in my memory, so I need this to be a simple has possable..lol..
The task at hand is a little tricky for me... a novice at best...
This is all about an alarm and storing data into rs batch.
I have an air flow instrument (AI). I have a setpoint on this flow instrument = value of 1440 +/- 175. + is high - is low.
I currently have a simple compare set up for High and low alarm..simple enough...NOW....
I need to add a moving average of that flow instrument input (AI)into a 60 register array by collecting that data every second for 60 seconds. Once I have the data (60 seconds worth) I need to calculate the average. Once the average has been calculated I need to begin storing the min and max of the average. And continue do so every second after the first 60 seconds.
Classic case of I know what I need to do....I just have no direction to do it.. Any help would be awesome..step by step would be great.
Oh yeah.. I only have 990 words left out of 101410 in my memory, so I need this to be a simple has possable..lol..