Quantcast
Channel: Measurement Studio for .NET Languages topics
Viewing all articles
Browse latest Browse all 1999

How to get the number of bytes read before timeout exception?

$
0
0

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?


Viewing all articles
Browse latest Browse all 1999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>