GetInQLen() returns greater than Queue size. I'm using CVI 5.5 for this project, but OpenComConfig (com_port, NULL, 115200, 0, 8, 1, 512, 512); is successful and data appears to flow, but eventually GetInQLen() returns a value greater than 512 which causes the debugger to break as my intermediate buffer is sized as 512.
Com port is Bluetooth device emulating a serial port opened as COM4. Not clear what is going on here but it greatly complicates things. I was expecting an error from GetQlen if I was too slow reading the port and the queue overflowed, or at the very least silent discarding of data once the queue is filled and a return from GetInQLen() equal to the queue size.
Ideas? Bluetooth driver/stack issue?
--wally.