Open greyltc opened 4 years ago
PyVISA-py has support for a limited number of attributes and the ones you mention are actually not supported. I am not sure what was happening before (my changes should not have changed anything since I simply avoided monkeypatching the classes with attributes) but it was most likely a total no-op. In a sense the new behavior is more correct. Please open separate issues in PyVISA-py if you need support for those attributes. As a gap stopper we could also try to distinguish between valid but unsupported and invalid attributes. PR welcome.
Actually PyVISA-py already log the error causing an VI_ERROR_NSUP_ATTR when it results from it not being implemented. So if you log you should see that this happens because of an incomplete implementation on PyVISA-py side but it may be a bit cryptic.
The docs say I should be able to set an
io_protocol
paramater for my GPIB instrument.But that doesn't work today with the following error:
Maybe relatedly, I've noticed that a other parameters that used to work no longer do,
allow_dma
doesn't work on my serial instruments either for example.Output of
pyvisa-info