1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我想用TotalizeContinuous计算脉冲,使用53220a作为ivi com计数器。
这是我使用的代码:cntr.Channels.Item [“Channel1”]。配置(1e + 6,IviCounterCouplingEnum.IviCounterCouplingDC,10.0); cntr.Channels.Item [“Channel1”]。ConfigureLevel(15.0,0.0); cntr.TotalizeContinuous.Configure( “通道1”); cntr.TotalizeContinuous.Start(); System.Threading.Thread.Sleep(10000); cntr.TotalizeContinuous.Stop(); long number = cntr.TotalizeContinuous.FetchCount(); 作为TotalizeContinuous.FetchCount()的结果,我得到一个例外,不支持此方法。 我唯一的选择是切换回仪器特定的驱动程序吗? 是否可以选择使用cntr.TotalizeTimed获取脉冲数? 我该如何为它设置测量:cntr.TotalizeTimed.Configure(“Channel1”,10.0); System.Threading.Thread.Sleep(12000); ?????? 非常感谢mike使用的硬件:Agilent 53220a使用的软件:用于53220a的IVI-Com驱动程序,版本1.0.11.0 IO库版本17.1.19313.5 Microsoft Visual Studio 2010,版本10.0.40219.1 SP1 以上来自于谷歌翻译 以下为原文 Hi, i want to count pulses with TotalizeContinuous using 53220a as ivi com counter. That is the code i use: cntr.Channels.Item["Channel1"].Configure(1e+6, IviCounterCouplingEnum.IviCounterCouplingDC, 10.0); cntr.Channels.Item["Channel1"].ConfigureLevel(15.0, 0.0); cntr.TotalizeContinuous.Configure("Channel1"); cntr.TotalizeContinuous.Start(); System.Threading.Thread.Sleep(10000); cntr.TotalizeContinuous.Stop(); long number = cntr.TotalizeContinuous.FetchCount(); As a result of TotalizeContinuous.FetchCount() i get an exception that this method is not supported. Is my only option switching back to instrument specific driver? Is there an option of getting the pulse number with cntr.TotalizeTimed? How shall i set up the measurement for it: cntr.TotalizeTimed.Configure("Channel1",10.0); System.Threading.Thread.Sleep(12000); ?????? Thank you very much in advance mike Hardware used: Agilent 53220a Software used: IVI-Com drivers for 53220a, version 1.0.11.0 IO Libraries version 17.1.19313.5 Microsoft Visual Studio 2010, version 10.0.40219.1 SP1 |
|
相关推荐
1个回答
|
|
我的错。
cntr.Measurement.Fetch()有效:cntr.Channels.Item [“Channel1”]。配置(1e + 6,IviCounterCouplingEnum.IviCounterCouplingDC,10.0); cntr.Channels.Item [“Channel1”]。ConfigureLevel(15.0,0.0); cntr.TotalizeContinuous.Configure( “通道1”); cntr.TotalizeContinuous.Start(); System.Threading.Thread.Sleep(10000); cntr.TotalizeContinuous.Stop(); long number =(long)cntr.Measurement.Fetch(); 感谢Keysight德国的Thomas Hadlok编辑:biech于2015年6月2日上午6:15 以上来自于谷歌翻译 以下为原文 My bad. cntr.Measurement.Fetch() works: cntr.Channels.Item["Channel1"].Configure(1e+6, IviCounterCouplingEnum.IviCounterCouplingDC, 10.0); cntr.Channels.Item["Channel1"].ConfigureLevel(15.0, 0.0); cntr.TotalizeContinuous.Configure("Channel1"); cntr.TotalizeContinuous.Start(); System.Threading.Thread.Sleep(10000); cntr.TotalizeContinuous.Stop(); long number = (long)cntr.Measurement.Fetch(); Thanks to Thomas Hadlok from Keysight Germany Edited by: biech on Jun 2, 2015 6:15 AM |
|
|
|
只有小组成员才能发言,加入小组>>
1279 浏览 0 评论
2371 浏览 1 评论
2187 浏览 1 评论
2061 浏览 5 评论
2945 浏览 3 评论
1099浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
748浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
917浏览 0评论
1282浏览 0评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-21 22:50 , Processed in 1.237728 second(s), Total 78, Slave 62 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号