Home › Forums › Mooshimeter Support › What is the Logging Speed?
- This topic has 2 replies, 2 voices, and was last updated 6 years, 5 months ago by admin.
How many samples per second or what is the fasted Logging speed?
Can this be influenced/sped up by disabling one channel if this option was given??
I ran a quick Log test and it appears like there is maybe 1 sample a second??
Would a faster SD card work better??
Maybe I am missing something or there is a bug in the Logging speed?
Initial investigation appears that the Logging sample rate is about 500 ms or 1/2 second. Is this the best this tool can do?
Are there settings that can be tweaked and/or a faster SD card or disabling one channel??
Sorry for the delay on this one.
Sampling on the meter works as follows. I capitalize variables that you can set through the app:
For one reading, the meter takes BUFFER_DEPTH readings at SAMPLE_RATE. Then it performs math on them (mean for DC readings, RMS for AC readings). It sends the result to the phone if you’re connected, or to the log if this reading was triggered by the log timer.
The log timer goes off once every LOG_INTERVAL. The settings available through the app are 10minutes, 1minute, 10s, 1s and MAX (0s).
If you set the logging interval to MAX(0), the meter will take readings and write them to the SD card as fast as possible. The actual rate you’ll get depends on the SAMPLE_RATE and BUFFER_DEPTH you set. So if you set 125Hz, 32samples, you’d end up writing to the log at about 4Hz (125/32).
If you want to go faster, try raising the sample rate and lowering the buffer depth. If you set it to 4000Hz, 32 samples, you’d expect to write to the log at about 125Hz (4000/32). The number you actually see in the log might be slightly slower if the SD card becomes a bottleneck, but it should be pretty close (the Mooshimeter doesn’t write very quickly compared to cameras and other peripherals that SD cards are meant for).
I hope this helps, best