All,
I am using a LV program to receive a comma delimited string (approx. 16KB) from an embedded board. I have been using the "Advanced Serial Read Write VI" to read the data after proper handshaking. And XON/XOFF flow control is in place.
This program was running fine for a few weeks now. But it has suddenly started to develop this error.
>> 1073807252 VISA: (Hex 0xBFFF006C) An overrun error occurred during transfer. A character was not read from the hardware before the next character arrived.
Nothing on the LV or embedded side has changed AFAIK.
This problem is intermittent. So the program works fine for an arbit amount of time before it breaks down (making it a pain to debug). When it does break down, it receives a truncated string which is sometimes 1KB and sometimes upto 12KB (so I seriously doubt if it is a buffer issue). I am also using the "VISA Set I/O Buffer size" to set the receive buffer size. Is there a maximum value I can set this to? If I set it to a number above the maximum value, does it revert to default (4096)?
The intermittent nature of the problem suggests that it is more of a timing issue than anything else. But here, I am attempting to read the entire chunk of data at once and there is no processing time involved between reading succesive characters. Hope somebody can bail me out.
TIA
Vijit