Closed ercanal closed 4 years ago
Thanks for your report. You should get an instance of SerialInstrument not a bare Resource. I will try to investigate what is happening. In the meantime you can force pyvisa to use a SerialInstrument as follow:
import pyvisa
from pyvisa.resources.serial import SerialInstrument
rm = pyvisa.ResourceManager()
inst = rm.open_resource("ASRLCOM3::INSTR, resource_pyclass=SerialInstrument)
I figured out the root cause of your issue and will try to address it shortly, you can follow the discussion at #269
Also note that with https://github.com/pyvisa/pyvisa/pull/547 in, you should not need to specify the resource class anymore.
Fixed in the latest bugfix releases
Instrument details
Output of
pyvisa-info
I am trying to use Anritsu MS4644B from raspberry PI with pyvisa-py but I can't communicate with the device except opening the connection
python script with debug logging enabled
attribute list from pyvisa-shell