完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好,我正在尝试从ENA设备(E5062A)读取带宽数据。
我使用的软件是labview 2011,界面是GPIB。 配置是:marker1跟踪是ON标记1搜索是MAX带宽是ON带宽值是-3db Notch关闭所有这些命令设置正确。 当我尝试使用以下命令读取带宽数据时:CALC1:MARK1:BWID:DATA ?,网络分析器始终显示“Query unterminated”。 请帮我弄清楚发生了什么,或者给我发一个演示代码。 顺便说一句,我向网络分析仪发送了很多命令,除了读取带宽和读取缺口的命令外,它们都没有任何问题。 有什么特别的东西我需要设置吗? 非常感谢。 以上来自于谷歌翻译 以下为原文 Hello, I am trying to read bandwidth data from ENA equipments (E5062A). The software I used is Labview 2011, the interface is GPIB. the configuration is: marker1 tracking is ON marker1 searching is MAX bandwidth is ON bandwidth value is -3db Notch is off all those commands are setup correctly. When I try to read the bandwidth data with the command of :CALC1:MARK1:BWID:DATA?, The network analyzer always shows "Query unterminated". Please help me to figure out what's going on, or send me a demo code. BTW, I send many commands to network analyzer, all of them are no any problem, except the command of reading bandwidth and read notch. is there any special things that I need setup? Thanks a lot. |
|
相关推荐
3个回答
|
|
如果在发送bandwidth命令时收到“Query Unterminated”错误,那么我将开始查看上一个命令。
在读取终止字符( n)之前,读取开始并终止时,通常会抛出该错误。 有没有* OPC? 还是其他没有被回读的东西? 我会逐步完成您的代码并确保错误即将到来。 如果您使用的是任何驱动程序,则可能还需要深入了解其较低级别的代码。 以上来自于谷歌翻译 以下为原文 If you receive the "Query Unterminated" error when you send the bandwidth command, then I would start looking at the previous command. That error usually throws when a read was started and terminated before the termination character (n) was read. Is there a *OPC? or something else that is not being read back? I would step through your code and make sure the error is coming when you think it is. If you are using any drivers, it may require digging into their lower level code as well. |
|
|
|
同样的错误发生在我身上。
特别是,当找到目标带宽并且查询返回BW,Center,Q和IL时,程序运行正常。 但是当响应不按计划进行时,则找不到目标带宽,而是查询而不是在4个值中返回零,它超时!!!!!!!!! 程序暂停签证超时期限,然后分析仪底部显示“查询未终止”错误。 所以我的程序的快速修复是在发送此查询之前将超时更改为100ms,检索返回的错误“:SYST:ERR?” 然后使用“:DISP:CCL”命令清除显示。 在此之后,您必须再次将超时设置为之前的值(例如5秒)。 安捷伦是否有办法在下次固件更新中解决此问题? 谢谢。 以上来自于谷歌翻译 以下为原文 The same error happens to me. In particular, the program runs fine when the target bandwidth is found and the query returns the BW, Center, Q and IL fine. But when the response is not as planned, then the target bandwidth is not found and the query instead of returning zero's in the 4 values it times out!!!!!!!!! The program halts for the visa timeout period and then "Query Unterminated" error shows on the bottom of the analyzer. So the quick fix to my program was to change the timeout to 100ms before sending this query, retrieve the error returned with ":SYST:ERR?" and then clearing the display with ":DISP:CCL" command. After this you have to set timeout again to what it was before (e.g. 5sec). Is there a way that Agilent can fix this problem in the next firmware update? Thanks. |
|
|
|
仪器找不到带宽的时候,我们命令读取会出错?能有办法知道仪器找不到带宽值吗
|
|
|
|
只有小组成员才能发言,加入小组>>
1251 浏览 0 评论
2360 浏览 1 评论
2173 浏览 1 评论
2041 浏览 5 评论
2925 浏览 3 评论
996浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
725浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
825浏览 0评论
1252浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-3 01:20 , Processed in 1.144373 second(s), Total 54, Slave 45 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号