Jump to content

Recommended Posts

  • 2 months later...

I'm sorry no-one else responded in a reasonable time but I'll try to close this one off for others that might be in the same predicament.

Basically you need to use a shift register. You can right-click on the borders of FOR and While loops to create shift registers. The shift register is a powerful tool and it allows you to carry the data from previous iterations into the present one. So, in your case, you would average the new data (add then devide by 2) with the previous data then pass it along back on the shift register. This can be repeated for as many iterations as you wish. On the outside of your loop you can place the saving of your data. At that point you would have an average of all the dat collected from previous loop iterations. This would be carried on the shift register.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...

Important Information

By using this site, you agree to our Terms of Use.