引用: 734747535qwe 发表于 2018-11-23 10:49
好像所有的测量结果都不正确,跟踪看起来是simelar但它们有“偏移”,只有一条电缆连接到Networkanalyser的每个端口,并带有开放端。
如果我测量我应该为S11得到关于“0dB”的值,对于S21得到关于“-80dB”的值。
这个值在Networkanalyser的显示屏上是正确的,但在Labview的显示屏上,我得到S11的值约为“1 dB”,而S21的值 ...
正如我之前所说,我不是LabView专家,不幸的是,我们为PNA提供的唯一LabView示例都基于PNA SCPI接口,您实际上可以从原始帖子中的相同链接下载这些示例。
为了查看我是否可以重复您的问题,我按照您的描述(端口1和2打开)设置了我的PNA-X(N5247A),然后我复制了您在Agilent VEE中的LabView代码中使用的所有相同的COM命令。
这是我运行VEE代码时得到的结果:https://dl.dropboxusercontent.com/u/87949221/Forum/ThreadID_38243/VeeProgram.png!
以下是PNA上显示的内容:https://dl.dropboxusercontent.com/u/87949221/Forum/ThreadID_38243/PNADisplay.png!
正如您所看到的那样,显示屏和V形程序中的值是相同的(正如人们所期望的那样)。
数据传输可能存在一些LabView特定问题。
您是否可以尝试使用其他语言进行实验,以确定问题是否与语言相关?
您可以随时免费下载Agilent VEE评估版,甚至可以使用PNA COM接口使用VB,VBScript或VB.NET。
以上来自于谷歌翻译
以下为原文
As I said before, I am not a LabView expert and unfortunately, the only LabView examples that we have for the PNA are all based on the PNA SCPI interface and you can actually download those from the same link that you had in your original post. To see if I could repeat your problem, I setup my PNA-X (N5247A) similarly as you described (ports 1 and 2 open) and then I replicated all the same COM commands that you used in your LabView code in Agilent VEE. Here is what I get when I run my VEE code:
!https://dl.dropboxusercontent.com/u/87949221/Forum/ThreadID_38243/VeeProgram.png!
and here is what is displayed on the PNA:
!https://dl.dropboxusercontent.com/u/87949221/Forum/ThreadID_38243/PNADisplay.png!
As you can see the values on the display and in the vee program are identical (as one would expect). there may be some LabView specific issue with the data transfer. would you be able to try your experiment with a different language to see if the issue is language related? you can always download an evaluation version of Agilent VEE for free or even use VB, VBScript, or VB.NET with the PNA COM interface.
引用: 734747535qwe 发表于 2018-11-23 10:49
好像所有的测量结果都不正确,跟踪看起来是simelar但它们有“偏移”,只有一条电缆连接到Networkanalyser的每个端口,并带有开放端。
如果我测量我应该为S11得到关于“0dB”的值,对于S21得到关于“-80dB”的值。
这个值在Networkanalyser的显示屏上是正确的,但在Labview的显示屏上,我得到S11的值约为“1 dB”,而S21的值 ...
正如我之前所说,我不是LabView专家,不幸的是,我们为PNA提供的唯一LabView示例都基于PNA SCPI接口,您实际上可以从原始帖子中的相同链接下载这些示例。
为了查看我是否可以重复您的问题,我按照您的描述(端口1和2打开)设置了我的PNA-X(N5247A),然后我复制了您在Agilent VEE中的LabView代码中使用的所有相同的COM命令。
这是我运行VEE代码时得到的结果:https://dl.dropboxusercontent.com/u/87949221/Forum/ThreadID_38243/VeeProgram.png!
以下是PNA上显示的内容:https://dl.dropboxusercontent.com/u/87949221/Forum/ThreadID_38243/PNADisplay.png!
正如您所看到的那样,显示屏和V形程序中的值是相同的(正如人们所期望的那样)。
数据传输可能存在一些LabView特定问题。
您是否可以尝试使用其他语言进行实验,以确定问题是否与语言相关?
您可以随时免费下载Agilent VEE评估版,甚至可以使用PNA COM接口使用VB,VBScript或VB.NET。
以上来自于谷歌翻译
以下为原文
As I said before, I am not a LabView expert and unfortunately, the only LabView examples that we have for the PNA are all based on the PNA SCPI interface and you can actually download those from the same link that you had in your original post. To see if I could repeat your problem, I setup my PNA-X (N5247A) similarly as you described (ports 1 and 2 open) and then I replicated all the same COM commands that you used in your LabView code in Agilent VEE. Here is what I get when I run my VEE code:
!https://dl.dropboxusercontent.com/u/87949221/Forum/ThreadID_38243/VeeProgram.png!
and here is what is displayed on the PNA:
!https://dl.dropboxusercontent.com/u/87949221/Forum/ThreadID_38243/PNADisplay.png!
As you can see the values on the display and in the vee program are identical (as one would expect). there may be some LabView specific issue with the data transfer. would you be able to try your experiment with a different language to see if the issue is language related? you can always download an evaluation version of Agilent VEE for free or even use VB, VBScript, or VB.NET with the PNA COM interface.
举报