是德科技
直播中

王燕

7年用户 222经验值
私信 关注
[问答]

N5242A,PrintToFile方法似乎导致延迟峰值

我们有一个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)

刘华湘

2018-9-27 15:54:47
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.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分