Open blackbit42 opened 3 years ago
Currently there is no support for event in pyvisa-py. It could be added but due to limited access to proper hardware and time it has not been done (there is a WIP PR but it has been dormant for some time #175 ). For the ATN line you need to access the interface resource not the instrument and may need #276 which is waiting for me to have time to properly test it. Anything you are willing to contribute or test will be appreciated. For the rest you could send low level gpib commands but I am not sure how much is already abstracted away by VISA.
Instrument details
Output of
pyvisa-info
I managed to get a screenshot as a HPGL file out of the scope after some fiddling, though I am not doing it by the book.
Please see the 'missing' and 'Not implemented' comments above. How do I go about clearing the bus, explicitly putting the scope in talk mode, myself in listen mode, setting the ATN line and waiting for SRQ? Also, does what I am doing above appear to be correct? I guess the commented stuff (lines 10..30) are irrelevant as that is HP BASIC for the controller.