Hi,
I use a Mega to drive a VDIP. I am collecting some data with the arduino and ut the into a buffer valls Pstring. Pstring counts the bytes to be send as well. The calculation works pretty well- I counted the bytes by hand…
So I send the message (around 360 bytes) every 2,5 seconds to the VDIP which works pretty fine.
But sometimes- and I do not know when and why- the VDIP ignores some data sent but writes CLF… and OPW… to the stick until the number of bytes received as announced . I checked the CTS and no buffer overflow is shown. The failure occurs sometimes after 10 lines up to every 250 lines of recorded data.
It looks something like that:
data,data,data,data,data,data,data,data,data,data
data,data,data,data,data,data,data,data,data,data
data,data,data,data,data,data,da*(here it stops)*
CLF Filename.csv
data,data,data,data,data,data,data,data,data,data
May do I send too many data to get a robust recording? What is the limit?
P.S. Sorry not putting any code into the text , but this is a quite branched 1000 lines code…