10-16-2012 05:41 PM
I need to change the number of bytes to send a Arduino to 85bytes, then I change the definition #define COMMANDLENGTH to 85:
#define COMMANDLENGTH 85
In LabView I change too the number of bytes to 85, but I have a Error 5002 in the Init.vi routine....
It's not possible to send more than 15 bytes although I change the COMMANDLENGTH to this new size in LabVIEWInterface.h and in Init.vi?
Thanks,
Jose
10-16-2012 06:21 PM
You cannot transmit more than the memory allocated for the serial buffer. One post that I found said that it was 64 bytes. You either need to break the data up into smaller chunks using custom functions and then handling them with custom functions in the LIFA firmware.
10-17-2012 03:47 PM
Last I checked the serial buffer was 128 bytes, but that might be Arduino version and board type dependent (not sure). Try someting larget than 15 but smaller than 85 and see what happens.
-Sam K
LIFA Developer