是德科技
直播中

李果

8年用户 180经验值
私信 关注
[问答]

N5222 PNA启动Cal Wizard无法识别命令

我正在尝试为PNA编写一个小驱动程序,其中一个要求是从软件启动Cal Wizard。
但是,当我使用该命令时(如PNA帮助页面中所示)SYSTem:CORRection:WIZard MAIN我收到错误:“收到的SCPI命令导致错误编号-113”未定义标题“”。
当通常无法识别命令时,我通常会收到此错误。
论坛等中进行挖掘后,我发现可能是“向导”中大写的四个而不是三个字母的建议。
但是在尝试这个时我遇到了同样的错误。
我的假设是我需要在启动cal向导之前调用某些东西,但这可能是我不知道的。
我已经有代码使用CALCulate:PARameter:SELect选择一个测量来使相应的通道处于活动状态等。
如果有人能够对此有所了解,那将非常感激

以上来自于谷歌翻译


     以下为原文

  I am trying to write a small driver for the PNA and one of the requirements is to launch the Cal Wizard from software. However when I use the command (as indicated in the PNA help pages) SYSTem:CORRection:WIZard MAIN I receive the error: "The SCPI command received has caused error number -113 “undefined header”". I normally seem to get this error when a command is not recognised.
  
After digging around in the forums etc I found the suggestion that it may be that four rather than three of the letters that are capitalised in the "wizard". However I was met with the same error upon trying this.
  
My assumption is that I need to be calling something prior to launching the cal wizard, but what that may be I dont know. I already have code in place which selects a measurement to make the appropriate channel active etc, using CALCulate:PARameter:SELect.
  
If anyone could shed some light on this it would be much appreciate  

回帖(1)

仲娜娜

2018-12-29 17:16:30
抱歉给你带来不便。
我可以确认我们有一个错误,其中长格式没有正确实现。
我只是继续解决这个问题,它将在未来的版本中得到解决。
与此同时,解决方法是使用短格式命令。

以上来自于谷歌翻译


     以下为原文

  Sorry for the inconvenience. I can confirm that we have a bug where the long form isn't implemented properly. I just went ahead and fixed this issue, and it will be resolved in a future release.

In the meantime, the work around is to use the short form command.
举报

更多回帖

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