是德科技
直播中

潘小旋

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

使用LabVIEW连接到PNA-X N5242A收到错误

您好,我正在尝试使用labview连接到PNA-X N5242A,但我不断收到来自VISA写入功能的错误。
要检查我是否正确连接,我正在使用NI MAX。
它显示连接是正确的,但是当我使用VISA测试面板写操作时,我收到以下错误:VISA:(Hex 0xBFFF003A)无法启动操作,因为安装无效(由于属性设置为不一致状态)

当我尝试启动读取操作时,我收到相同的错误。
PNA-X目前正在使用Windows 7和应用程序代码版本A.10.49.03我的代码在使用Windows XP和应用程序代码版本A.09.90.13的另一个PNA-X上运行得非常好。有关错误的屏幕截图,请参阅附件。
写操作Error.png85.8 KBRead Operation Error.png84.3 KB

以上来自于谷歌翻译


     以下为原文

  Hello,

I'm trying to connect to the PNA-X N5242A using LabVIEW, but I kept getting and error coming from the VISA Write Function.  

To check if I'm connected properly I'm using NI MAX. It shows that the connection is correct, however when I use the VISA Test Panel to write operation I get the following error:

VISA: (Hex 0xBFFF003A) Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state).

I get the same error when I try to initiate a Read Operation.

The PNA-X is currently using Windows 7 and Application Code Version A.10.49.03

My code worked perfectly fine on another PNA-X using Windows XP and Application Code Version A.09.90.13

For screenshots of the errors please see attached.   
附件

回帖(18)

仲娜娜

2018-9-14 11:28:27
感谢您的帖子...是的,我们知道这个问题:“无法启动操作,因为安装无效(由于属性设置为不一致状态)。”
遗憾的是,只有在客户端PC上安装Keysight IO Libraries时,才支持通过USB控制VNA。
因此,如果您安装Keysight IO Libraries,那么这应该可行。
据我所知,这曾经适用于Windows XP。
它也适用于未来版本的固件(尚未发布)。
但截至目前,您必须使用Keysight IO库通过USB与VNA通信。

以上来自于谷歌翻译


     以下为原文

  Thank you for your post...

Yes, we are aware of this issue: "Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state)."

Unfortunately, controlling the VNA over USB is only supported when you install Keysight IO Libraries on your client PC. So, if you install Keysight IO Libraries, then this should work.

I understand that this used to work with Windows XP. It will also work with a future version of firmware (yet to be released). But as of now, you must use Keysight IO Libraries to talk to your VNA over USB.
举报

刘华湘

2018-9-14 11:43:01
引用: 60user56 发表于 2018-9-14 14:41
感谢您的帖子...是的,我们知道这个问题:“无法启动操作,因为安装无效(由于属性设置为不一致状态)。”
遗憾的是,只有在客户端PC上安装Keysight IO Libraries时,才支持通过USB控制VNA。
因此,如果您安装Keysight IO Libraries,那么这应该可行。

Keysight IO库可作为辅助VISA安装在带有NI IO库的并行安装中,因此一旦完成并行IO库安装,您就能够从LabView与Keysight USB接口通信


以上来自于谷歌翻译


     以下为原文

  Keysight IO libraries can be installed as secondary VISA in a side-by-side installation with NI IO libraries, so you should be able to talk to a Keysight USB interface from LabView, once you have done the side-by-side IO library install.
举报

潘小旋

2018-9-14 11:50:25
引用: Topcbpcba 发表于 2018-9-14 14:56
Keysight IO库可作为辅助VISA安装在带有NI IO库的并行安装中,因此一旦完成并行IO库安装,您就能够从LabView与Keysight USB接口通信


谢谢你的回复!
我已经将Keysight IO库安装为辅助VISA,但我仍然遇到同样的错误。
除了简单地安装IO库之外还有什么需要做的吗?
再次感谢您提供的任何帮助!

以上来自于谷歌翻译


     以下为原文

  Thanks for the replies!

I've installed the Keysight IO Libraries as a secondary VISA, but I'm still getting the same error. Is there anything else that needs to be done besides simply installing the IO Libraries? 

Thanks again for any help provided!
举报

刘华湘

2018-9-14 12:06:08

嗨Scott,Wallace,我们正在尝试在我们的实验室中复制您的场景,看看我们是否可以重现问题并提出解决方案。
您能否告诉我们您正在使用的NI IO库和Labview版本以及作为辅助VISA安装的Keysight IO库的版本?

以上来自于谷歌翻译


     以下为原文

  Hi Scott, Wallace,

We are currently trying to replicate your scenario here in our lab to see if we can reproduce the problem and propose a solution.  Can you both please let us know the NI IO libraries and Labview versions you are using and the version of the Keysight IO libraries that you installed as secondary VISA?
举报

更多回帖

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