Very low sample rates

21 views
Skip to first unread message

James Cameron

unread,
Apr 19, 2014, 10:18:23 PM4/19/14
to nonoli...@googlegroups.com
Is there a way to use a sample rate around 1Hz in Pixelpulse?

I can use the Python API and do all my own graphing, but if
Pixelpulse could do it then ... less work more fun.

https://github.com/nonolith/connectClientPython

Use case: testing health of NiMH cells, for charge and discharge.

--
James Cameron
http://quozl.linux.org.au/

Ian Daniher

unread,
Apr 20, 2014, 5:20:32 PM4/20/14
to nonoli...@googlegroups.com
Try adding an option to "config-sample-rate" in pixelpulse.html, something like " <option value=1>1</option>" 

With that low of a rate, you may run into issues with USB buffering - I'd try at 100 and go from there.

--
Ian


--
You received this message because you are subscribed to the Google Groups "Nonolith Labs CEE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nonolith-cee...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

James Cameron

unread,
Apr 24, 2014, 2:42:53 AM4/24/14
to nonoli...@googlegroups.com
Thanks, I tried that, see diff [1], was able to select a sample rate
of 1, but when I start sampling the values displayed on the right hand
side flickered rapidly, the trace was offset one second to the left,
and the trace was always flat, showing no history. See screenshot
[2].

References:

1. http://dev.laptop.org/~quozl/y/1WdDHK.txt

2. http://dev.laptop.org/~quozl/cee-1398321601.png

Ian Daniher

unread,
Apr 24, 2014, 11:24:37 AM4/24/14
to nonoli...@googlegroups.com
Hmm. I'll look into it - our UI was definitely optimized for a few orders of magnitude more data, but I would have expected it to behave better than you've described. The ability to zoom out to hour-scale is on the list for the next rev of pixelpulse.

--
Ian

James Cameron

unread,
Apr 24, 2014, 5:26:21 PM4/24/14
to nonoli...@googlegroups.com
Take your time. I'm using the Python API for this task now, with
external plotting using gnuplot.

On Thu, Apr 24, 2014 at 11:24:37AM -0400, Ian Daniher wrote:
> Hmm. I'll look into it - our UI was definitely optimized for a few
> orders of magnitude more data, but I would have expected it to
> behave better than you've described. The ability to zoom out to
> hour-scale is on the list for the next rev of pixelpulse.

--
James Cameron
http://quozl.linux.org.au/
nimh.py
nimh-plot.sh

Ian Daniher

unread,
Apr 24, 2014, 6:49:10 PM4/24/14
to nonoli...@googlegroups.com
Awesome, thanks for sharing!


Reply all
Reply to author
Forward
0 new messages