Jump to content

Recommended Posts

I am using a V130.  Converted the Analog input to read pressure, once a second. I need to average a large number of input readings over a user selected time frame.  Pressure reads XX.X and time frame can go up to 100 hours.  Using it to warn if a rate change over the time frame exceeds a preset value from the first reading.

Appreciate any help

Dave

 

Link to comment
Share on other sites

  • MVP 2023

You might want to re-think that request.  If you average all the samples over a time frame there will be no rate of change, just an average of the entire data set.

You may want to average the samples over a smaller block and store each block average in several rows of a data table.  You could then compare adjacent blocks for your change alarm.

Joe T.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.