完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,AcquirePowerReadingsEx方法的同步arg允许您在PNA执行采集时继续执行。
但是,我不知道收购何时结束? 有没有人知道一种方法来判断源功率校准何时结束? 谢谢你的帮助,安迪 以上来自于谷歌翻译 以下为原文 Hi All, The sync arg of the AcquirePowerReadingsEx method allows you to continue execution while the acquisition is performed by the PNA. However I can't tell when the acquisition is ended? Does anyone know of a way to tell when the source power cal sweep has ended? Thanks for your help, Andy |
|
相关推荐
2个回答
|
|
由于您使用的是COM接口,因此了解异步方法何时完成的唯一方法是启用事件。
但是,我的猜测是你正在使用DCOM(在PC而不是PNA本身上运行你的程序)并且让事件在DCOM上正常工作是非常困难的(你可以感谢微软)。 在COM中使用此命令的异步版本的唯一原因是,如果您的电源获取时间长于默认DCOM超时(通常为6分钟) 以上来自于谷歌翻译 以下为原文 since you are using the COM interface, the only way to know when the asynchronous method has completed is to enable events. However, my guess is that you are using DCOM (running your program on a PC rather than the PNA itself) and getting events to work properly over DCOM is notoriously difficult (you can thank Microsoft for that). the only reason to use the async version of this command in COM is if your power acquisition is longer than the default DCOM timeout (usually 6 minutes) |
|
|
|
Topcbpcba 发表于 2018-11-2 11:17 此外,当您在COM中使用该命令的异步版本时,当您在SourcePowerCalibrator上调用ApplyPowerCorrectionValuesEx(或取代的ApplyPowerCorrectionValues)时,应用功率校正值的调用将 - 正如人们逻辑预期的那样 - 等待 /阻止采集完成,如果它仍在进行中,然后计算修正并返回。 以上来自于谷歌翻译 以下为原文 Also, when you use the asynchronous version of that command in COM, when you do go to call ApplyPowerCorrectionValuesEx (or the superseded ApplyPowerCorrectionValues) on the SourcePowerCalibrator, that call to apply the power correction values will -- as one would logically expect -- wait/block on the acquisition to complete if it is still in-progress and then computes the correction and returns. |
|
|
|
只有小组成员才能发言,加入小组>>
1296 浏览 0 评论
2378 浏览 1 评论
2199 浏览 1 评论
2068 浏览 5 评论
2955 浏览 3 评论
1136浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
759浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
943浏览 0评论
1296浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-27 14:51 , Processed in 1.373143 second(s), Total 78, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号