我正在尝试使用NI GPIB-USB电缆与Keithley 2410 Sourcemeter接口,但出现上述错误。

我已经安装了NI-VISA以及NI-488.2驱动程序。 Windows和NI MAX正在检测GPIB连接正常。我正在Windows 10 32位中运行Jupyter Notebook。

 import pyvisa
 from pymeasure.instruments.keithley import Keithley2400

 rm = pyvisa.ResourceManager()
 print(rm.list_resources())

 sourcemeter = Keithley2400("GPIB::24")
 print(sourcemeter.id)


list_resources()返回以下内容:
('USB0::0x0957::0x2007::MY49019271::INSTR', 'ASRL1::INSTR', 'ASRL3::INSTR', 'ASRL4::INSTR')

并且我得到错误:NotImplementedError: Please upgrade PyVISA to version 1.8 or later.即使我正在使用1.10版。

任何见解将不胜感激。谢谢!

最佳答案

原来我使用的计算机是垃圾。我们替换了它,并且使用了新的。

关于python - 吉时利2410 Pymeasure NotImplementedError:请将PyVISA升级到1.8版或更高版本,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/57776814/

10-12 16:34