Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5625

VISA Problem with buffer

$
0
0

Hi

 

I communicate with a device with VISA tools.

I get a buffer and then I extract data .

This works well except some times the buffer is not read entirety . The first part of the buffer is missing and my data are in this part !

On 150 iterations I have 1 case where the buffer is truncated. I don't understand why...

 

I tried to change the waiting time between writing and reading, it changes nothing .

I inserted the tool "VISA flush" to empty the buffer between each reading but it does nothing more.

 

Can you help me?


Viewing all articles
Browse latest Browse all 5625

Trending Articles



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