我正在尝试为PNA编写一个小驱动程序,其中一个要求是从软件启动Cal Wizard。
但是,当我使用该命令时(如PNA帮助页面中所示)SYSTem:CORRec
tion: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