完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好社区,我想使用ENA 5071 C使用混合模式S参数进行测量。因此,我在夹具模拟器中启用了平衡 - 不平衡转换。
显示屏现在显示所需的混合模式参数Sdd11,Sdd112 ... Scc22。 但是如何将实际显示的曲线曲线传送到MS Excel(通过LAN)? *我正在使用Agilent VEE和MS Excel / VBA,但是将命令'instrument.WriteString::CALC1:PAR1:DEF Scd12“'发送到ENA会导致错误,因为此命令仅针对带有i和j的Sij指定 = 1..4。*那么如何选择所需的混合模式S参数以及如何读取它? *编辑*我尝试了一些事情,但只是更加困惑... instrument.WriteString“:CALC1:PAR1:SEL”instrument.WriteString“:CALC1:TRAC1:EQU:STATE ON”instrument.WriteString“:CALC1:TRAC1: EQU:TEXT'sdd_test = S21 /(1-S11)'“instrument.WriteString”:CALC1:TRAC1:EQU:TEXT?“ equ_string = instrument.ReadString()MsgBox equ_string - >定义我自己的方程式,在左上角,跟踪符号变为“Tr1 Sdd_test Log Mag 10.000db / Ref 0.000db [Equ]”,命令MsgBox equ_string给出 'sdd_test = S21 /(1-S11)'如预期的那样。 显然混合模式S参数没有定义为方程式?!??! 至少右列中的所有定义都保持不变(Sdd11,Sdd12 ....)。 instrument.WriteString“:CALC1:PAR1:TNAM:DATA tracename”instrument.WriteString“:CALC1:PAR:TNAM:DEF?tracename”equ_string = instrument.ReadString()MsgBox equ_string - >跟踪1在通道1(在我的 实验我总是假设是活动跟踪)被赋予名称'tracename'。 MsgBox equ_string显示正确的分配,返回'tracename'作为结果。 但是在ENA的显示屏上,注释“tracename”不会出现在任何地方。 它是否正确 ? 它仍然按照我的预期说“Tr1 Sdd_test Log Mag 10.000db / Ref 0.000db [Equ]”而不是“tracename sdd_test Log Mag 10.000db / Ref 0.000db [Equ]”。 instrument.WriteString“:CALC1:PAR1:TNAM:DATA?” equ_string = instrument.ReadString()MsgBox equ_string - >最令人惊讶的结果:equ_string现在包含“S11”。 但为什么 ??? 为什么它不包含“Sdd_test”,因为之前的所有操作都涉及相同的Trace 1,Channel 1.此外,ENA在平衡模式下运行,所以我预计至少会有Sdd11。 但S11到底在哪里?编辑:Stephan Giesinger于2013年2月26日凌晨2点 以上来自于谷歌翻译 以下为原文 Hello community, I want to make measurements with mixed mode S-parameters using the ENA 5071 C. Therefore I enabled the balance-unbalance conversion within the Fixture Simulator. The display now shows the desired mixed mode parameters, Sdd11, Sdd112...Scc22. But how do I transfer the actual displayed trace curve to MS Excel (via LAN) ? *I am using Agilent VEE and MS Excel/VBA, but sending the command 'instrument.WriteString ":CALC1:PAR1:DEF Scd12" ' to the ENA, results in an error as this command is just specified for Sij with i and j = 1..4.* So how do I select the desired mixed-mode S-parameter and how to read it ? *EDIT* I tried a few things but just got more puzzled... instrument.WriteString ":CALC1:PAR1:SEL" instrument.WriteString ":CALC1:TRAC1:EQU:STATE ON" instrument.WriteString ":CALC1:TRAC1:EQU:TEXT 'Sdd_test=S21/(1-S11)'" instrument.WriteString ":CALC1:TRAC1:EQU:TEXT?" equ_string = instrument.ReadString() MsgBox equ_string --> Defining my own equation works, in the upper left corner the notation of the trace changes to "Tr1 Sdd_test Log Mag 10.000db/ Ref 0.000db [Equ]", Command MsgBox equ_string gives 'Sdd_test=S21/(1-S11)' as expected. Apparently the Mixed-Mode S-parameters are NOT defined as equations ?!??! At least all definitions in the right column remain unchanged (Sdd11, Sdd12....). instrument.WriteString ":CALC1:PAR1:TNAM:DATA tracename" instrument.WriteString ":CALC1:PAR:TNAM:DEF? tracename" equ_string = instrument.ReadString() MsgBox equ_string --> Trace 1 at channel 1 (which in my experiments I always assume to be the active trace) is assigned the name 'tracename'. MsgBox equ_string shows the correct assigment, returning 'tracename' as result. But on the display of the ENA the annotation 'tracename' doesn't appear anywhere. Is this correct ? It still says "Tr1 Sdd_test Log Mag 10.000db/ Ref 0.000db [Equ]" instead of "tracename sdd_test Log Mag 10.000db/ Ref 0.000db [Equ]" as I expected. instrument.WriteString ":CALC1:PAR1:TNAM:DATA?" equ_string = instrument.ReadString() MsgBox equ_string --> The most surprising result: equ_string now contains "S11". But why ??? Why doesn't it contain "Sdd_test" as all previous operations concerned the same Trace 1, Channel 1. Furthermore the ENA is operated in balanced mode, so I would have expected at least Sdd11. But where the hell does S11 come from ? Edited by: Stephan Giesinger on Feb 26, 2013 2:00 AM |
|
相关推荐
1个回答
|
|
亲爱的Stephan Giesinger实际显示的曲线也可以使用带有混合模式S参数的SCPI命令进行传输。
以下是示例代码; :CALC1:PAR1:SEL:CALC1:DATA:FDATa? :CALC1:数据:SDATA? 如果您使用的是Microsoft Excel 2007或Excel 2010 32位版本,请尝试使用对您有用的“ENA数据传输程序”。 http://www.home.agilent.com/agilent/editorial.jspx?cc=US&lc=eng&ckey=1396109&nid=-536902639.350794&id=1396109注意: - 混合模式S参数测量不 使用公式编辑器功能。 因此,诸如“CALC1:TRAC1:EQU:TEXT”的SCPI命令独立工作。 - “:CALC1:PAR1:TNAM:DATA”定义/获取所选通道的活动迹线的名称。 这意味着您可以将任意跟踪名称分配给活动跟踪,并且可以使用分配的跟踪名称定义测量参数(例如:S11)。 http://ena.tm.agilent.com/e5071c/manuals/webhelp/eng/programming/command_reference/calculate/scpi.calculate(ch).parameter(tr).tname.data.htm - “:CALC1:PAR: DEF“和”:CALC1:PAR:TNAM:DEF“不支持混合模式S参数。 要定义“平衡 - 平衡”mxed模式S参数,请使用“CALC1:FSIM:BAL:PAR1:BBAL:DEL”。 http://ena.tm.agilent.com/e5071c/manuals/webhelp/eng/programming/command_reference/calculate/scpi_calculate_ch_parameter_tr_define.htm http://ena.tm.agilent.com/e5071c/manuals/webhelp/eng/programming /command_reference/calculate/scpi.calculate(ch).parameter.tname.define.htm http://ena.tm.agilent.com/e5071c/manuals/webhelp/eng/programming/command_reference/calculate/scpi_calculate_ch_fsimulator_balun_parameter_tr_bbalanced_define.htm 以上来自于谷歌翻译 以下为原文 Dear Stephan Giesinger The actual displayed trace curve also can be transfer using SCPI command with mixed mode S-parameters. The following is a sample code; :CALC1:PAR1:SEL :CALC1:DATA:FDATa? <- for fomatted data :CALC1:DATA:SDATa? <- for complex raw data And if you use Microsoft Excel 2007 or Excel 2010 32-bit version, please try to use "ENA Data Transfer Program" which would be useful for you. http://www.home.agilent.com/agilent/editorial.jspx?cc=US&lc=eng&ckey=1396109&nid=-536902639.350794&id=1396109 Note: - Mixed mode S-parameters measurement does not use the equation editor function. So, SCPI commands such as "CALC1:TRAC1:EQU:TEXT" work independently. - ":CALC1:PAR1:TNAM:DATA" defines/gets the name for the active trace of selected channel. This means you can allocate arbitrary trace name to the active trace and you can define a measurement parameter (eg: S11) using the allocated trace name. http://ena.tm.agilent.com/e5071c/manuals/webhelp/eng/programming/command_reference/calculate/scpi.calculate(ch).parameter(tr).tname.data.htm - ":CALC1:PAR:DEF" and ":CALC1:PAR:TNAM:DEF" do not support Mixed mode S-parameters. To define "balance-balance" mxed mode S-parameters, please use "CALC1:FSIM:BAL:PAR1:BBAL:DEL". http://ena.tm.agilent.com/e5071c/manuals/webhelp/eng/programming/command_reference/calculate/scpi_calculate_ch_parameter_tr_define.htm http://ena.tm.agilent.com/e5071c/manuals/webhelp/eng/programming/command_reference/calculate/scpi.calculate(ch).parameter.tname.define.htm http://ena.tm.agilent.com/e5071c/manuals/webhelp/eng/programming/command_reference/calculate/scpi_calculate_ch_fsimulator_balun_parameter_tr_bbalanced_define.htm |
|
|
|
只有小组成员才能发言,加入小组>>
1221 浏览 0 评论
2346 浏览 1 评论
2155 浏览 1 评论
2021 浏览 5 评论
2900 浏览 3 评论
964浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
700浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
800浏览 0评论
1223浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 09:31 , Processed in 1.400593 second(s), Total 79, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号