I am using the NI VISA library ReadByteArray method to read approx. 100,000 bytes. I am receiving a timeout exception, which I believe is caused by not enough bytes being received before timeout occurs. Is there anyway to programatically get the number of bytes that were received before a timeout? Or the number of bytes available before the ReadByteArray executes?
↧