我正在尝试使用ivi驱动程序(ke2450_64.dll)从仪器(keithly 2460)读取一些值。
以下是代码:
import comtypes
from comtypes import client
KeithleyInstruments = client.GetModule('ke2450_64.dll') # load dll
SMU = client.CreateObject("Keithley2450.Keithley2450")
SMU.Initialize("USB0::0x05E6::0x2460::04455358::INSTR",False,False,'simulate = true')
SMU.Identity.InstrumentModel # identify the instrument model
SMU.Measurement.Trace.GetAverageReading
一切正常,但运行最后一行,即。
SMU.Measurement.Trace.GetAverageReading
,我得到了回应:
<bound_named_property 'IKeithley2450MeasurementTrace.GetAverageReading' at 14280b4c448>
老实说,我不明白这意味着什么。如何使用命令读取仪器的平均读数
蓝精灵。测量查出GetAveragerReading
?
我知道有一些使用scpi命令的方法,但目的是只使用ivi驱动程序来执行此任务。