完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好PXA程序员,我正在尝试检测ADC Over Range条件。
我查询STAT:QUES:INT寄存器并检查第4位(输入过载)。 现在,如果我故意设置一个过载条件并查询寄存器,则第4位设置为1.如果我再次查询,则第4位为零(即查询寄存器清除它) - 好吧,我可以忍受。 但是......如果我执行另一次扫描,分析仪仍处于过载状态,但第4位是零! 一直以来,前面板都高兴地告诉我分析仪过载 - 我知道,分析仪知道这一点,但状态位有不同的想法! 我错了,但我觉得这里有些不对劲。 软件转速为12.09。 因此,有人可以验证问题并修复或建议策略来测试过载情况。 非常感谢! 安迪 以上来自于谷歌翻译 以下为原文 Hello PXA programmers, I am trying to detect an ADC Over Range condition. I query the STAT:QUES:INT register and check for bit 4 (Input Overload). Now, if I deliberately set up an overload condition and query the register, bit 4 is set to 1. If I query again, bit 4 is zero (i.e. querying the register clears it) - okay I can live with that. But... if I perform another sweep, the analyzer is still in overload BUT bit 4 is ZERO!! All the time, the front panel happily tells me the analyzer is overloaded - I know that, the analyzer knows that, but the status bit thinks differently! I could be wrong, but I think something is amiss here. Software rev is 12.09. Thus can someone either verify the issue and fix or suggest a strategy to test for an overload condition. Many thanks! Andy |
|
相关推荐
2个回答
|
|
嗨Andy - 我们的状态寄存器位在条件转换为真时置1,在读取寄存器时清零。
如果条件转换为false,则仅再次设置寄存器,然后再次转换回true。 如果要查询条件而不是锁存寄存器,那么您将发送命令:“STAT:QUES:INT:COND?”状态条件位将始终显示当前状态,即使您之前已读过它; 但是,它不会让你知道状态寄存器过去发生的情况。 重申一下,当发生ADC过载时,当发送“STAT:QUES:INT:COND?”(等于寄存器中的第4位)时,将返回“16”。 如果在过载情况持续时继续查询,则总是看到16.如果过载消失,则会看到0.当过载重新出现时,您会看到16有关详细信息,请参阅PXA用户和程序员指南http:// cp.literature.agilent.com/litweb/pdf/N9060-90027.pdf在第3-14页上,有一个状态子系统的图表。 问候 - 以上来自于谷歌翻译 以下为原文 Hi Andy - Our status register bits are set when the condition transitions to being true and are cleared when you read the register. The register is only set again if the condition transitions to being false and then transitions back to true again. If you want to query the condition and not the latching register, then you would send the command: “ STAT:QUES:INT:COND?” The status condition bit will always show you the current status even if you have previously read it; however, it won’t let you know if the condition happened in the past like the status register does. To reiterate, when an ADC overload occurs, “16” will be returned when you send “STAT:QUES:INT:COND?” which equates to bit 4 in the register. If you keep querying while the overload condition continues you always see the 16. If the overload goes away, you see 0. When the overload reappears, you see 16 For more information, please refer to the PXA User’s and Programmer’s Guide http://cp.literature.agilent.com/litweb/pdf/N9060-90027.pdf On page 3-14 there is a chart of the status subsystem. Regards - |
|
|
|
醉狼工作室 发表于 2019-1-29 20:21 感谢快速响应 - 这正是我想要的......在一个稍微不同的话题 - 是否有任何计划改进PXA for WLAN上的自动量程算法。 在某些情况下,我可以减少衰减器设置(在自动调整之后),而不会使ADC过载并改善EVM测量(因为在较高衰减设置下噪声受限)。 谢谢你 以上来自于谷歌翻译 以下为原文 Thanks for the quick response - that does exactly what I want.... On a slightly idfferent topic - are there any plans to improve the auto-ranging algorithm on the PXA for WLAN. In several instances I can reduce the attenuator setting (after it has been auto-ranged) without overloading the ADC and improve the EVM measurement (since it was noise limited at the higher attenuation setting). Thanks andy |
|
|
|
只有小组成员才能发言,加入小组>>
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 08:26 , Processed in 1.075050 second(s), Total 47, Slave 41 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号