I received a copy of your post and response to my question in my email notification. I’m going to put it up as an addendum to this post because it was complete and well written and may be helpful to others. Once again – thank you
Mooshimeter can do one thing at a time (apart from sampling two channels, but i don’t know how simultaneous that really is).
It goes something like this:
step 1: take samples. Default for dc seems to be 64 samples at 125 Hz. So it takes roughly 500 ms. You could play with those settings and set amount of samples to 32/64/128/256 and sample rate to 125 – 8000 Hz in doubling increments also. That means anything from ~4 ms to ~2 seconds for just the sampling.
step 2: averaging etc that sample buffer, probably takes more time for larger set of samples. That takes some unknown amount of time, as it is just one slow processor doing it all.
step 3: saving that one value that step 2 produced. Again, takes some time. I’m quite sure that memory card speed has nothing to do with it, as those can take tens of megabytes in second and we are only writing hundreds of bytes..
optional step 4: transfer value from step 2 over bluetooth to your phone. You guessed right, it will take some time. But disconnecting would give you little faster logging to memory card in “no wait” mode.
step 5: wait for next set time for taking sample. “no wait”/1s/10s/min/10min.
step 6: go to step 1 and start again
So, constant sampling and saving the results is not really possible, but for example with dc-default-sampling-options, ~500ms sample of every 1 second is. You could get little bit more with “no wait” option, but still, processing takes some time and you could lose some tens of milliseconds long spikes. And with 125Hz/64smpl those would probably hide in the averages anyway.
And then there are errors in sampling.. James told that sometimes whole sample buffer might get discarded and sampling would start again.. That would appear at least in “no wait” mode logs by longer interval in timestamps.
What was the question? When we got here? :D