社区所有版块导航
Python
python开源   Django   Python   DjangoApp   pycharm  
DATA
docker   Elasticsearch  
aigc
aigc   chatgpt  
WEB开发
linux   MongoDB   Redis   DATABASE   NGINX   其他Web框架   web工具   zookeeper   tornado   NoSql   Bootstrap   js   peewee   Git   bottle   IE   MQ   Jquery  
机器学习
机器学习算法  
Python88.com
反馈   公告   社区推广  
产品
短视频  
印度
印度  
Py学习  »  Python

python:<bound_named_property'ikeithle2450measurementtrace。GetAveragerReading'电话:14280b4c448>

rana_jee • 4 年前 • 1791 次点击  

我正在尝试使用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驱动程序来执行此任务。

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/132205
文章 [ 1 ]  |  最新文章 4 年前