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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...