I'm using the above block diagram to calculate respiratory rate. It's mostly working, however, when I export the data into an excel file, I notice that data is collected and displayed every 100ms up to 10 seconds, and every 1s thereafter.
Ex; I can see data points for .1, .2, .3, .4 - 1 second, which creates a very nice curve. But, the data points for 10-11 seconds are all clumped together at 10 and 11 seconds, breaking the curve.
I think inherently in the program, there is a function somewhere which makes it so that after 10 seconds, something changes about the data collection. But, for the life of me, I cannot find where or what to change (I am pretty new at Labview.)
If someone could help me with this problem, that would be great.
Thanks,
-ExperimentGuy