pyvisa / pyvisa-py

A pure python PyVISA backend
https://pyvisa-py.readthedocs.io
MIT License
288 stars 124 forks source link

Adds functionality for multiple boards in one system, fixes lockup on scan #201

Closed dirkenstein closed 5 years ago

dirkenstein commented 5 years ago

Supports up to 16 boards as per linux-gpib.

Add functionality to never perform a listener() on the controller address. Previously it would not yield the address value but still call listener(). This causes some gpib interfaces to lock up with a bus error until an IFC is issued. May be related to whether we call MTA of the controller as part of ibln() or not but some boards need that.

Note the issue with MTA seems to be specific to linux-gpib. Testing with NI488.2 will be performed to make sure nothing breaks.

MatthieuDartiailh commented 5 years ago

I merged because I wanted to make sure not to break too many things when updating the handling of attributes. If you can test the new attributes. If you are happy with it we can probably merge #194 and include it in the next release.