完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
所有,我试图通过以下方式尽快从PNA-X读取迹线:我关闭连续扫描:INItiate1:CONTinuous OFF;
要触发扫描,我正在使用:INITiate1; * OPC? 但是完成该操作大约需要7秒钟,我听到像切换器一样在分析仪内部点击。 当我按下PNA前面板上的Single按钮时,扫描仅在47mS左右完成。 谁知道我怎么能加快速度呢? 谢谢,-Bill 以上来自于谷歌翻译 以下为原文 All, I am trying to read a trace from a PNA-X as quickly as possible with the following: I turn off continuous sweep with: INITiate1:CONTinuous OFF; To trigger a sweep I am using: INITiate1;*OPC? But it takes about 7 seconds for that operation to complete and I hear clicking inside that analyzer like an attenuator is being switched. When I push the Single button on the PNA front panel the sweep completes in only about 47mS. Anyone know how I can speed this up? Thanks, -Bill |
|
相关推荐
6个回答
|
|
我们必须更多地了解您的状态如何设置才能解释差异(例如,是否存在处于连续扫描模式的其他通道?)。
最接近前面板“Single”按钮的命令实际上是命令_ *“SENSe:SWEep:MODE SINGle”* _。 INITiate:IMMediate命令是旧的8510 / 875x / 872x天的遗留命令,它附带了许多遗留行为包。 对于大多数简单的远程触发用例,我不推荐它。 以上来自于谷歌翻译 以下为原文 We would have to know more about how your state is setup to be able to explain the discrepancy (for example are there other channels present that are in continuous sweep mode?). The closest command to the front panel "Single" button is actually the command _*"SENSe:SWEep:MODE SINGle"*_. The INITiate:IMMediate command is a legacy command from the old 8510/875x/872x days and it comes with a lot of legacy behavior baggage. for most simple remote triggering use cases, I don't recommend it. |
|
|
|
Topcbpcba 发表于 2018-10-11 09:02 感谢您的答复。 我们只有一个频道。 该通道上有9条迹线,我的程序应该重复触发扫描,读取活动的跟踪数据,对其进行后处理,然后显示它。 这应该尽可能接近实时发生,但每秒2或3次扫描就可以了。 如果SWEep:MODE SINGle与按前面板上的SINGLE按钮相同,那么这应该可以解决我的问题。 我一上班就去试试吧。 顺便说一下,pnahelp.chm说SENSe:SWEep:MODE“设置指定通道接受的触发信号的数量。” 这听起来不像是一个触发机制,所以我甚至没有考虑使用它。 为什么这样描述? 再次感谢您的回复,-Bill 以上来自于谷歌翻译 以下为原文 Thank you for the reply. We have only one channel. There are 9 traces on that channel and my program is supposed to repeatedly trigger a sweep, read the active trace data, post process it, and then display it. This is supposed to happen as close to real time as possible, but 2 or 3 sweeps per second would be fine. If SWEep:MODE SINGle is the same as pressing the SINGLE button on the front panel, then that should solve my problem. I'll try it as soon as I get to work. BTW, pnahelp.chm says that SENSe:SWEep:MODE "Sets the number of trigger signals the specified channel will ACCEPT." This doesn't sound like a trigger mechanism to me, so I didn't even consider using it. Why is it described that way? Thanks again for the reply, -Bill |
|
|
|
好吧,我刚试过* SENSe1:SWEep:MODE SINGle *并且它不会触发PNA上的扫描。 我将PNA置于单扫描模式,* INITiate1:CONTINuous OFF *。 如果不建议使用* INITiate1:IMMediate *并且* SENSe1:SWEep:MODE SINGle *不会触发分析仪,那么我必须使用什么命令来触发扫描? 谢谢,-Bill 以上来自于谷歌翻译 以下为原文 Okay, I just tried *SENSe1:SWEep:MODE SINGle* and it does not trigger a sweep on the PNA. I am putting the PNA into single sweep mode with *INITiate1:CONTinuous OFF*. If *INITiate1:IMMediate* is not recommended and *SENSe1:SWEep:MODE SINGle* does not trigger the analyzer then what command do I have to use to trigger a sweep? Thanks, -Bill |
|
|
|
derek88 发表于 2018-10-11 09:24 您写道:“pnahelp.chm说SENSe:SWEep:MODE”设置指定通道将接受的触发信号的数量。“这对我来说听起来不像触发机制,所以我甚至没有考虑使用它。 为什么这样描述?“ 非常好的问题! 没有多少人真正了解PNA触发器模型。 设计非常灵活,但不是您所期望的。 要了解它是如何工作的,请观看此动画并阅读相应的文本:http://na.support.keysight.com/pna/help/latest/S1_Settings/TrigModel.htm为了使问题更复杂,SCPI实施尝试 像Dara建议的那样使用旧的VNA遗留行为。 阅读这组示例程序,以使用与触发器模型一起使用的SCPI命令:http://na.support.keysight.com/pna/help/latest/Programming/GPIB_Example_Programs/Triggering_the_PNA_using_SCPI.htm。 以上来自于谷歌翻译 以下为原文 You wrote: "pnahelp.chm says that SENSe:SWEep:MODE "Sets the number of trigger signals the specified channel will ACCEPT." This doesn't sound like a trigger mechanism to me, so I didn't even consider using it. Why is it described that way?" Very good question! Not many people really understand the PNA trigger model. The design is very flexible, but not what you would expect. To learn how it works, watch this animation and read the corresponding text: http://na.support.keysight.com/pna/help/latest/S1_Settings/TrigModel.htm To make matters even more complicated, the SCPI implementation attempted to use the old VNA legacy behavior as Dara suggested. Read this set of example programs for using the SCPI commands that go with the trigger model: http://na.support.keysight.com/pna/help/latest/Programming/GPIB_Example_Programs/Triggering_the_PNA_using_SCPI.htm. |
|
|
|
derek88 发表于 2018-10-11 09:24 > {quote:title = WDrago写道:} {quote}>好的,我刚试过* SENSe1:SWEep:MODE SINGle *并且它不会触发PNA上的扫描。 >>我将PNA置于单一扫描模式,* INITiate1:CONTINuous OFF *。 >>如果* INITiate1:不建议使用IMMediate *且* SENSe1:SWEep:MODE SINGle *不会触发分析仪,那么我必须使用什么命令来触发扫描? >>>谢谢,>> - 如果您在预设后查看触发对话框,您将看到以下默认设置:触发源=内部触发范围=全局通道触发状态=连续触发模式=通道& 如果您只想将通道置于保持状态然后进行单次扫描,则会被禁用,唯一需要更改的设置是通道触发状态,它有4种可能的模式:连续,组,单和保持。 当您发出“INIT:CONT OFF”命令时,您实际更改的是触发源(它被设置为手动)。 这就是为什么当你在“INIT:CONT OFF”之后发送“SENS:SWE:MODE SING”时没有任何反应。 它正在等待手动触发(INIT:IMM命令)。 所以你可以这样做:INIT1:CONT OFF SENS1:SWE:MODE SING INIT1:IMM; * OPC? 或者更简单地说,你可以这样做:SENS1:SWE:MODE HOLD + {做你需要做的频道设置步骤,比如改变频率,添加曲线等......} + SENS1:SWE:MODE SING; * OPC? 以上来自于谷歌翻译 以下为原文 > {quote:title=WDrago wrote:}{quote} > Okay, I just tried *SENSe1:SWEep:MODE SINGle* and it does not trigger a sweep on the PNA. > > I am putting the PNA into single sweep mode with *INITiate1:CONTinuous OFF*. > > If *INITiate1:IMMediate* is not recommended and *SENSe1:SWEep:MODE SINGle* does not trigger the analyzer then what command do I have to use to trigger a sweep? > > Thanks, > > -Bill if you look at the trigger dialog after a preset, you will see the following default settings: Trigger Source = Internal Trigger Scope = Global Channel Trigger State = Continuous Trigger Mode = Channel & is disabled when you simply want to put a channel on hold and then take single sweeps, the only setting that needs to change is the Channel Trigger State, which has 4 possible modes: Continuous, Groups, Single, and Hold. When you issue the "INIT:CONT OFF" command, what you are actually changing is the Trigger Source (it is being set to Manual). this is why when you send the "SENS:SWE:MODE SING " after the "INIT:CONT OFF" nothing happens. it is waiting for a manual trigger (an INIT:IMM command). So you could do something like: INIT1:CONT OFF SENS1:SWE:MODE SING INIT1:IMM; *OPC? or much more simply, you could just do this: SENS1:SWE:MODE HOLD +{do what ever channel setup steps you need to do here like changing frequencies, adding traces, etc...}+ SENS1:SWE:MODE SING; *OPC? |
|
|
|
Topcbpcba 发表于 2018-10-11 09:49 daras,谢谢你的回复。 我知道花了很长时间才能写出来,听起来它会解决我的问题,所以我很感激。 我没有轻松访问PNA,因此很难尝试并解决困难。 问候, - 比尔 以上来自于谷歌翻译 以下为原文 daras, Thank you for the reply. I know it took a long time to write that and it sounds like it will solve my problem, so I appreciate it. I don't have easy access to the PNA, so that makes it hard to try things and compounds the difficulty. Regards, -Bill |
|
|
|
只有小组成员才能发言,加入小组>>
1240 浏览 0 评论
2352 浏览 1 评论
2164 浏览 1 评论
2030 浏览 5 评论
2914 浏览 3 评论
983浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
714浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
813浏览 0评论
1241浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-30 17:33 , Processed in 1.533315 second(s), Total 87, Slave 70 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号