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

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Good point, makes sense.  I'm looking at differential pressure (1-2 PSID change).  I store a reading after 2 min. so the reading can stabilize.  After 2min is the rate window, which can be set from 3min. to 100hrs.

Dave

Share this post


Link to post
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...