arduino-api icon indicating copy to clipboard operation
arduino-api copied to clipboard

getting only 30 points, then cutting off.

Open drrehak opened this issue 10 years ago • 4 comments

mine was getting cut off after sending 30 data points. This is quite different then plot.ly displaying only the most recent 30. which seems to be the variable that we pass in Arduino IDE (graph.maxpoints). so, I looked in plotly_streaming_cc3000.h changed maxpoints = 30 to 300. It seems to be chugging along now past 30.

Can I remove maxpoints? and it will stream indefinitely?

drrehak avatar Feb 28 '15 02:02 drrehak

No, but you can make it about 20,000. Your browser might experience slowdowns, as the max_points attribute refers to the max points displayed in the browser at any given time.

alexander-daniel avatar Feb 28 '15 19:02 alexander-daniel

ok. so it appears to be very unpredictable. I can't keep a stream open. it loses connection after a variable length of time. Any ideas? what should I test?

drrehak avatar Feb 28 '15 19:02 drrehak

We're currently working on upgrading the stability of our Arduino servers. I'll keep you posted here. About how long does it go for before it fails?

Thanks

alexander-daniel avatar Feb 28 '15 19:02 alexander-daniel

Looks like it's usually about an hour.

On Feb 28, 2015, at 2:30 PM, Alejandro [email protected] wrote:

We're currently working on upgrading the stability of our Arduino servers. I'll keep you posted here. About how long does it go for before it fails?

Thanks

— Reply to this email directly or view it on GitHub.

drrehak avatar Feb 28 '15 19:02 drrehak