01-22-2016 02:56 PM - edited 01-22-2016 02:58 PM
I'm performing some serial communication at 9600 baud. I am sending a command and expecting 1 byte sent back (0x00). I do the write and the read immediately after with no delay. When I do the VISA read, I am getting the visa overrun error, but I am also getting the 1 byte I am expecting. To troubleshoot, I added a property to check the number of bytes at the port after doing the serial read and it is telling me there are 0 bytes at the port.
Why am I getting the overrun error? Why am I still getting the byte back if there is an overrun error?
I am using NI-VISA 14.0.1 and NI-Serial 14.0 in LabVIEW 2014.
01-22-2016 03:56 PM
08-20-2016 06:14 AM
Hi,
I'm working on a project, and also getting the same buffer overrun error when I try to receive data from a sensor system. I am using a 57600 baud Radio Telemetry module, with another setting put to default. Only the first data showed up before the error occured. I'm still working on this problem, is there something I do wrong?
Thanks!
08-22-2016 05:22 PM
Hi Leida,
Have you tried the suggestions listed above? Can you interact with it through NI MAX? Do you know how quickly your device will be sending information to your computer?
Can you provide some more information on your instrument and possibly attach the manual?