04-24-2020 09:04 PM
This challenge pertains to the flow rate VI. At the end of the exercise document, is this challenge question:
What changes would be required to maintain a running total of the absolute total flow? (Note: negative flow contributes to absolute flow)
I was trying come up with an algorithm to determine the total absolute total flow but couldn't think of anything that seemed simple to implement. I was thinking to multiple the flow rate with the time elapsed for that flow rate and add that to the absolute total flow. And then when the flow rate changes, the timer will reset and then it will be multiplied by the current flow rate and added to the absolute total flow.
Any advice would be greatly appreciated. Thank you!
05-04-2020 02:18 AM