完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
我们有一个VBScript,在网络分析器(N5242A)上作为宏执行。
在其他任务中,它应该每小时打印一次文件。 在此宏运行期间,分析仪处于连续扫描模式。 一旦printToFile方法运行,就可以看到群延迟测量中的毛刺(尖峰)。 我正在等待听到团队的确切固件版本,但分析仪至少运行固件版本A.10.00.00(运行Windows 7)我们相当确定它与PrintToFile方法有关,就像那时 行被注释掉,行为不重复。 我附上了一个较旧(但没有实质上不同)的宏副本。 非常感谢您的帮助。 (如果这是一个转贴,我将删除它/提交删除,第一次发布有一些问题) 以上来自于谷歌翻译 以下为原文 We have a VBScript that is executed as a macro on the network analyzer (N5242A). Among other tasks, it is supposed to print the screen to file once an hour. During the time that this macro runs, the analyzer is in continuous sweep mode. Once the printToFile method runs, a glitch (spike) in the group delay measurement can be seen. I'm waiting to hear what the exact firmware version is from the team, but the analyzer is running at least firmware version A.10.00.00 (running windows 7) We're fairly sure it's related to the PrintToFile method, as when that line is commented out, the behavior does not repeat. I've attached an older (but not substantively different) copy of the macro. Thank you very much for any assistance. (If this is a repost, I'll remove it/submit for removal, there was some issue the first time posting) 附件
|
|
相关推荐
1个回答
|
|
|
print-to-file字面上中断显示线程,显示线程负责在连续扫描期间更新显示。
因此显示故障并不罕见。 如果您想确保记录真实数据,请在CaptureMeas子目录中执行app.ActiveChannel.Hold()(如果您的设置中只有一个频道)或循环通过Channels集合并将每个频道置于保持状态 发出app.save命令。 保存后,可以将通道重新连续扫描。 以上来自于谷歌翻译 以下为原文 print-to-file literally interrupts the display thread, which is responsible for updating the display during a continuous sweep. So a display glitch is not unusual. if you want to make sure that you record true data, in your CaptureMeas sub, do an app.ActiveChannel.Hold() (if there is only one channel in your setup) or loop through the Channels collection and put each channel in hold prior to issuing the app.save command. once you have saved it, you can put the channel(s) back into continuous sweep. |
|
|
|
|
只有小组成员才能发言,加入小组>>
1844 浏览 0 评论
2739 浏览 1 评论
2640 浏览 1 评论
2449 浏览 5 评论
3458 浏览 3 评论
1844浏览 0评论
417浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 03:46 , Processed in 0.780568 second(s), Total 72, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2033