【发布时间】:2016-05-31 06:03:42
【问题描述】:
我正在尝试使用 pyVisa 控制 USB 仪器 (Keithley 2450),但出现错误。我正在关注pyVisa website上的简单示例
发送“服务请求”后出现问题
keithley.wait_for_srq()
它会抛出一个错误
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'USBInstrument' object has no attribute 'wait_for_srq'
似乎用那个命令我无法通过 USB 进行通信。我该怎么做才能通过 USB 接口与我的仪器进行远程通信? 希望你能帮到我。我是 Python 和 SCPI 的新手。
【问题讨论】: