Open iliis opened 8 years ago
I forgot to mention that ibtest
shows the same behaviour: The first call to read
works fine, but the second one results in a timeout, even tough the first read
call didn't consume everything. Maybe all I have to do is somehow enable caching in linux-gpib?
After "fixing" issue #73, executing the same code results in a timeout:
returns
Appearantly, it reads a single byte and then stalls in https://github.com/hgrecco/pyvisa-py/blob/master/pyvisa-py/gpib.py#L126. Removing the '1' and changing this line to
seems to work so far.
My System:
pyvisa-py is at current master (4c266c8bdfd021e2f0b6b1cd33556a759bcf982c, but modified as described in issue #73 ) and linux-gpib is version
4.0.2