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.