We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I have multiple Xbee's sending info to the serial port every second. In my processing draw loop I check for a complete incoming data chunk from one of these xbee's then if that passes I run a db.execute insert into… statement so that the data I just got gets saved to my sqlite db. What I'm finding is that these repeated queries seem to be bogging down the process and there is a growing backlog of data as well as readings coming in that are skipped. How do I avoid this issue when storing data? Batch save? Crazy fast processor? export data to another format?
Currently the computer is a macbook air, sufficient I think. The xbees are series 2. DB: sqlite.
Thanks Mike
Answers
Hmm. I would have thought this would be a fairly generic issue easily explained. No one has any suggestions? Thnaks Mike