完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好。
我正尝试通过LAN端口与AGN5244A进行交互。 使用一段以前曾经工作过的labview程序。 现在他们无法使用安捷伦“初始化N5244A”vi现在出现错误,表明它无法找到该设备。 使用的VISA地址是“TCPIP0 :: 10:47:3:21 :: 5025 :: SOCKET :: inst0 :: INSTR”。 使用ACE(v16.3)并添加LAN仪器,使用“添加地址”和选项“使用IP地址”和“套接字”,当我按下“测试连接”按钮时,我被告知仪器存在。 当我选择“* IDN查询”并按“识别仪器”时,我会返回仪器ID字符串。 我查看了COM / DCOM安全性,发现没有“Everyone”条目。 这是问题吗? 如果是这样,我如何重新建立“每个人”,在我看过的文档中没有找到如何做到这一点。 任何建议都会有所帮助,因为我认为这是一个安全问题,这个领域不是我的强项! PNA-X运行XP Professional。 谢谢赫伯特 以上来自于谷歌翻译 以下为原文 Hi. I am trying to interact with an AGN5244A over the LAN port. Using a set of LabVIEW programs that have previously worked, some time ago. Now they do not work with the Agilent "Initialize N5244A" vi now comes up with an error that suggests it cannot find the device. The VISA address being used is "TCPIP0::10:47:3:21::5025::SOCKET::inst0::INSTR". Using ACE (v16.3) and adding a LAN instrument, using the "Add Address" and options "Use IP Address" and "Socket", when I press the "Test Connection" button I am told the instrument is present. When I select "*IDN query" and press "Identify Instrument" I get back the instrument ID string. I have had a look at the COM/DCOM security and find that there is not an entry for "Everyone". Is this the issue? If so how do I re-establish "Everyone", haven't found how to do this in the documentation I have looked at. Any suggestions would be helpful as I assume it is a security issue and this area is not my strong point! The PNA-X runs XP Professional. Thanks Herbert |
|
相关推荐
2个回答
|
|
Labview驱动程序/ VISA不使用DCOM - 幸运的是,您不必担心任何DCOM安全问题。
所以,这不是问题所在。 SOCKET连接未经身份验证,因此无需安全配置。 您指定的地址似乎格式不正确。 你说你用的是:“TCPIP0 :: 10:47:3:21 :: 5025 :: SOCKET :: inst0 :: INSTR”。 首先,IP地址应使用“。” 代替 ”:”。 (我不知道,也许VISA允许两者 - 但我会将其更改为“。”)此外,inst0和INSTR不用于套接字。 以下是Agilent Connection Expert显示的IP地址的有效VISA地址:TCPIP0 :: 10.47.3.21 :: 5025 :: SOCKET ---但是,如果您仍然看到错误:我有这些问题。 该程序以前是否适用于N5244A? 而且,您获得的具体错误消息是什么? 以上来自于谷歌翻译 以下为原文 The Labview driver/VISA does not use DCOM - so fortunately, you do not need to worry about any DCOM security issues. So, that's not the problem. SOCKET connection are unauthenticated, so there is no security configuration necessary. The address that you specify appears to be malformed. You said that you were using: "TCPIP0::10:47:3:21::5025::SOCKET::inst0::INSTR". First, an IP address should use "." instead of ":". (I don't know, maybe VISA allows both - but I would change it to a ".") Also, the inst0 and INSTR isn't used for a socket. Here's what Agilent Connection Expert is showing as the valid VISA address for your IP address: TCPIP0::10.47.3.21::5025::SOCKET --- But, if you are still seeing errors: I have these questions. Did the program work with the N5244A before? And, what is the specific error message that you are getting? |
|
|
|
60user56 发表于 2018-9-30 16:44 约翰,谢谢你的回复。 有时你可以看一些东西而不是看到明显的东西。 事实上,我开始使用我的IP之间的冒号,抛弃了我的例程并加剧了我的错误,以创建一个完全格式错误的VISA地址。 由于最后使用了该仪器,因此IP已更改,并且我在数据库中以不正确的格式输入了新IP。 我曾多次看过它,从未见过冒号。 感谢您提供单独的一组眼睛,并澄清安全(非)问题。 干杯赫伯特 以上来自于谷歌翻译 以下为原文 Johan, thanks for the reply. Sometimes you can look at something and not see the obvious. The fact that I started with the colons between my IP, threw my routines off and compounded my error, to create a totally malformed VISA address. Since the instrument was used last, the IP has been changed and I had entered the new IP in an incorrect format in the database. I had looked at it a number of times and never saw the colons. Thanks for providing a separate set of eyes and also clarifying on security (non) issues. Cheers Herbert |
|
|
|
只有小组成员才能发言,加入小组>>
1231 浏览 0 评论
2351 浏览 1 评论
2161 浏览 1 评论
2026 浏览 5 评论
2910 浏览 3 评论
974浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
707浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
808浏览 0评论
1231浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-27 00:22 , Processed in 1.368591 second(s), Total 78, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号