完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我想远程读取34980A中安装了哪些模块以及它们具有哪些序列号。
插槽1 ... 4中有4个34939A,插槽5中有34938A。我可以使用Agilent Interactive IO和Web界面从我自己的C#代码中操作继电器。 但是当我输入时,例如 “SYSTem:CTYPe?1”进入Agilent Interactive IO,找出插槽1中实际安装了哪个模块,根本没有回复。 当我再次尝试使用相同或另一个插槽号时,设备会发出蜂鸣声。 那么,SYST:ERR? 报告错误“-410”,查询中断; “”所以设备似乎确实处理了SYSTem:CTYPe?“查询,但它没有终止。在Web界面中,我可以单击”Module overview“按钮并显示有关各个模块的信息。 在这里? 以上来自于谷歌翻译 以下为原文 I want to read remotely which modules are installed in a 34980A and which serial numbers they have. There are currently four 34939A in slots 1...4 and a 34938A in slot 5. I can operate the relays from within my own C# code, with Agilent Interactive IO and with a the web interface. But when I type, e.g. "SYSTem:CTYPe? 1" into Agilent Interactive IO to find out which module is actually installed in slot 1, there is no reply at all. When I try again with the same or another slot number, the device beeps. Then, SYST:ERR? reports the error "-410,"Query INTERRUPTED; "" So it seems that the device does actually process the SYSTem:CTYPe?" query, but it does not terminate. In the web interface, I can click the "Module overview" button and display the information about the individual modules. What is going on here? |
|
相关推荐
2个回答
|
|
嗨连接,错误也会在上电后直接发生,当我发出“SYSTem:CTYPe?1”作为第一个命令时,没有对设备做任何其他事情。
清空错误队列不会改变有关错误的任何内容。 该设备通过以太网连接。 这是设备的IDN字符串:Agilent Technologies,34980A,MY44012109,2.43-2.43-2.07-1.05在验证这一点时,我发现在发送SYSTem后单击Interactive IO的“Read Response”按钮时会出现回复: CTYPE? [slot number ]命令:示例:*我输入:“SYSTem:CTYPe?1”+返回+ *没有任何反应。 *我单击“读取响应”*交互式IO显示“Agilent Technologies,34939A,MY44000884,1.02”这些是我对所有已安装模块的响应:“Agilent Technologies,34939A,MY44000884,1.02”“Agilent Technologies,34939A, MY44000880,1.02“”安捷伦科技,34939A,MY44000890,1.02“”安捷伦科技,34939A,MY44000889,1.02“”安捷伦科技,34938A,MY44001452,2.10“问题出在PC软件中吗? 我使用Agilent IO Libraries 16.0.14518.0。 以上来自于谷歌翻译 以下为原文 Hi Connectivity, the error does also occur directly after power on, when I issue the "SYSTem:CTYPe? 1" as the very first command, without having done anything else to the device. Emptying the error queue does not change anything about the error. The device is connected via ethernet. This is the device's IDN string: Agilent Technologies,34980A,MY44012109,2.43-2.43-2.07-1.05 While verifying thiss, I found out that there appears a reply when I click the "Read Response" button of Interactive IO after sending the SYSTem:CTYPe? [slot number] command: Example: * I type: "SYSTem:CTYPe? 1"+Return+ * nothing happens. * I click "Read Response" * Interactive IO displays "Agilent Technologies,34939A,MY44000884,1.02" These are the responses which I get for all the installed modules: "Agilent Technologies,34939A,MY44000884,1.02" "Agilent Technologies,34939A,MY44000880,1.02" "Agilent Technologies,34939A,MY44000890,1.02" "Agilent Technologies,34939A,MY44000889,1.02" "Agilent Technologies,34938A,MY44001452,2.10" Could the problem lie within the PC software? I use Agilent IO Libraries 16.0.14518.0. |
|
|
|
60user152 发表于 2019-3-20 09:32 ACE中的Interactive IO窗口有三个用于发送SCPI命令的选项。 它们是“发送”,“读取响应”和“发送和读取”。如果使用带有问号结尾的命令的“SEND”,结果将被放入输出缓冲区,必须先读取,然后才能发送另一个命令 或者你会得到错误。只需使用“发送和读取”按钮就可以避免这种情况,但它必须是一个以“?”结尾的查询命令。我没有那么多的GP中继卡,但有6个34922A卡, 上电后立即发送“SYST:CTYP? 对于每个插槽并获得正确的结果,没有错误 以上来自于谷歌翻译 以下为原文 The Interactive IO window in ACE has three options for sending a SCPI command. They are "Send", "Read Response, and "Send and READ". If you use "SEND" with a command ending in a question mark, the result is put in the output buffer and must be read before another command can be sent or you will get the error. Just using the "Send and Read" button avoids this, but it has to be a query command ending in "?". I don't have that many GP relay cards, but with six 34922A cards, immediately after power up, I sent "SYST:CTYP? for each slot and got the correct result with no errors |
|
|
|
只有小组成员才能发言,加入小组>>
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 05:33 , Processed in 1.488634 second(s), Total 78, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号