完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好,我正在尝试使用labview对Agilent PNA-X N5242A进行编程。
我想测量S21(lin mag)并测量其x和y值。 我的SCPI命令* RST DISP:WIND:TRAC1:DEL CALC:PAR:DEF:EXT“s21_1”,“S21”CALC:PAR:SEL“s21_1”DISP:WIND:TRAC2:FEED“s21_1”CALC:MARK ON DISP: 风:ANN:MARK:SYMB FLAG SENS:FREQ:STAR 1 GHZ SENS:FREQ:STOP 2 GHZ DISP:WIND:ANN:MARK:SING ON CALC:MARK:FUNC:TRAC ON CALC:MARK:FUNC MAX CALC:MARK: Y' 这读取S11数据(Log mag)。 但显示S21数据如何测量S21(Lin mag)? 我应该做些什么改变? 先谢谢你。 的SRM 以上来自于谷歌翻译 以下为原文 Hello, I’m trying to program the Agilent PNA-X N5242A using LabVIEW. I want to measure S21 (lin mag) and measure its x and y values. my SCPI commands *RST DISP:WIND:TRAC1:DEL CALC:PAR:DEF:EXT "s21_1","S21" CALC:PAR:SEL "s21_1" DISP:WIND:TRAC2:FEED "s21_1" CALC:MARK ON DISP:WIND:ANN:MARK:SYMB FLAG SENS:FREQ:STAR 1 GHZ SENS:FREQ:STOP 2 GHZ DISP:WIND:ANN:MARK:SING ON CALC:MARK:FUNC:TRAC ON CALC:MARK:FUNC MAX CALC:MARK:Y? this reads S11 data(Log mag). but displays S21 data How do I measure S21(Lin mag)? what changes I should do? Thank you in advance. srms |
|
相关推荐
14个回答
|
|
要迁移,sourceId:104938
以上来自于谷歌翻译 以下为原文 to be migrated, sourceId: 104938 附件 |
|
|
|
很好的例子,达拉。 我试图运行序列,但收到一条消息说没有加载命令,它无法连接到CE服务器。 你看到同样的事吗? 哦,我公开为误导你的名字而道歉。 以上来自于谷歌翻译 以下为原文 Nice example, Dara. I tried to run the sequence but got a message saying the commands weren't loaded, and it cannot connect to the CE server. Do you see the same thing. Oh, and I publicly apologize for mispelling your name. |
|
|
|
我将序列保存在离线模式下,以便任何人都可以加载它。
您需要做的第一件事是确保您运行的是Command Expert的1.1版更新1。 其次,您需要确保已从命令专家服务器下载了PNA命令集的A.09.50.13版本。 第三,您需要修改序列的第一行并实际指向运行版本A.09.50.13(或更高版本)的PNA,您可以从PC上进行通信(即您需要在安捷伦中配置PNA) 连接专家)。 如果毕竟这仍然不起作用,那么我们需要联系CE支持。 附: 在公开场合,道歉已被接受,但我仍在等待我免费签名的书籍副本:-) 以上来自于谷歌翻译 以下为原文 I saved the sequence in offline mode, so that anyone can load it. The first thing you need to do is make sure you are running version 1.1 update 1 of Command Expert. secondly, you need to make sure that you have downloaded the A.09.50.13 version of the PNA command set from the command expert servers. thirdly you need to modify the first line of the sequence and actually point it to a PNA running version A.09.50.13 (or later) that you can talk to from your PC (i.e. you need to have the PNA already configured in the Agilent Connection Expert). if after all this it still doesn't work, then we'll need to contact CE support. P.S. Publicly, apology accepted, but I am still waiting for my free signed copy of the book :-) |
|
|
|
Topcbpcba 发表于 2019-5-20 14:10 一旦我加载序列CE提示下载并安装更新的命令集,那么当时服务器可能已关闭。 Spacecase 以上来自于谷歌翻译 以下为原文 As soon as I loaded the sequence CE prompted to download and install the updated command set, maybe the server was down at the time. Spacecase |
|
|
|
嗨,非常感谢你的解释Daras。 现在它工作正常。 的SRM 以上来自于谷歌翻译 以下为原文 Hi, Thank you very much for your explanation Daras. now it works fine. srms |
|
|
|
Daras,我试图将S21跟踪数据(跟踪2)添加到数组中。 CALC:PAR:MNUM:SEL 2 CALC:数据? FDATA它给我一个错误“请求测量未找到”。 将跟踪数据输出到数组的方法是什么? 先谢谢你。 的SRM 以上来自于谷歌翻译 以下为原文 Daras, I am trying to get S21 Trace data(trace 2) to an array. CALC:PAR:MNUM:SEL 2 CALC:DATA? FDATA it gives me an error " request measurement not found". what is the method to output trace data to an array? Thank you in advance. srms |
|
|
|
yiqiao18 发表于 2019-5-20 14:37 > {quote:title = srms写道:} {quote}> Daras,>>我试图将S21跟踪数据(跟踪2)添加到数组中。 >> CALC:PAR:MNUM:SEL 2> CALC:DATA? FDATA >>它给我一个错误“请求测量未找到”。 将跟踪数据输出到数组的方法是什么? >提前谢谢你。 >> srms如果您有多个窗口,则屏幕上的跟踪编号可能不是您想要的测量编号。 测量数和跟踪数不是一回事。 试试:SYST:MEAS:CAT? 那么,每个:SYST:MEASn :: NAME? 然后:CALC:PAR:SEL'MeasName'要验证,请尝试:CALC:PAR:SEL? 或者SYST:ACT:MEAS? 有关更多信息,请在帮助文件的搜索部分中键入“引用跟踪”。 Spacecase 以上来自于谷歌翻译 以下为原文 > {quote:title=srms wrote:}{quote} > Daras, > > I am trying to get S21 Trace data(trace 2) to an array. > > CALC:PAR:MNUM:SEL 2 > CALC:DATA? FDATA > > it gives me an error " request measurement not found". what is the method to output trace data to an array? > Thank you in advance. > > srms If you have more than one Window, then the Trace Number on the Screen may NOT be the Measurement number you intended. Measurement Number and Trace Number are not the same thing. Try: SYST:MEAS:CAT? then, for each: SYST:MEASn::NAME? Then: CALC:PAR:SEL 'MeasName' To verify, try: CALC:PAR:SEL? or SYST:ACT:MEAS? For more info type "referring to traces" in the search section of the Help file. Spacecase |
|
|
|
yiqiao18 发表于 2019-5-20 14:37 > {quote:title = srms写道:} {quote}> Daras,>>我试图将S21跟踪数据(跟踪2)添加到数组中。 >> CALC:PAR:MNUM:SEL 2> CALC:DATA? FDATA >>它给我一个错误“请求测量未找到”。 将跟踪数据输出到数组的方法是什么? >提前谢谢你。 >>那些有点奇怪的srms。 当我将上面两行添加到我根据原始代码创建的序列时,一切正常:https://dl.dropbox.com/u/87949221/SCPISequence2.jpg! (我附加了修改过的CE序列)> {quote:title = Spacecase写道:} {quote}>如果你有多个窗口,那么屏幕上的跟踪编号可能不是你想要的测量编号。 测量数和跟踪数不是一回事。 >> Spacecase跟踪号仅用于以下语境:DISP:WIND:TRAC命令和跟踪号仅对给定窗口是唯一的。 另一方面,测量编号是唯一的系统范围和命令:CALC:PAR:MNUM:SEL确实采用测量编号并给出srms的原始代码,“:CALC:PAR:MNUM:SEL 2”是要使用的相应命令。 他的原始代码删除了第一个默认的S11跟踪,但他创建了新的S21测量并将其输入到窗口1中的跟踪2,这使得系统中的测量编号为2。 以上来自于谷歌翻译 以下为原文 > {quote:title=srms wrote:}{quote} > Daras, > > I am trying to get S21 Trace data(trace 2) to an array. > > CALC:PAR:MNUM:SEL 2 > CALC:DATA? FDATA > > it gives me an error " request measurement not found". what is the method to output trace data to an array? > Thank you in advance. > > srms that is a bit odd. when I add the two lines above to the sequence I created based on your original code, it all works fine: !https://dl.dropbox.com/u/87949221/SCPISequence2.jpg! (I've attached the modified CE Sequence) > {quote:title=Spacecase wrote:}{quote} > If you have more than one Window, then the Trace Number on the Screen may NOT be the Measurement number you intended. Measurement Number and Trace Number are not the same thing. > > Spacecase the trace number is only used in the context of :DISP:WIND:TRAC commands and trace numbers are only unique for a given window. Measurement numbers on the other hand are unique system wide and the command :CALC:PAR:MNUM:SEL does take a measurement number and given srms's original code, ":CALC:PAR:MNUM:SEL 2" is the appropriate command to use. His original code deleted the 1st default S11 trace, but he created the new S21 measurement and fed it to trace 2 in window 1, which makes it measurement number 2 in the system. 附件 |
|
|
|
Topcbpcba 发表于 2019-5-20 14:57 感谢Dara,我没有读到足够的线程...... Spacecase 以上来自于谷歌翻译 以下为原文 Thanks Dara, I didn't read far enough up the thread... Spacecase |
|
|
|
非常感谢您的帮助。 它现在工作正常。 我有另一个问题。 如何将相应的频率数据输出到我的阵列? 以上来自于谷歌翻译 以下为原文 Thank you very much for your help. It works fine now. I have another question. how do I output corresponding frequency data to my array? |
|
|
|
我知道它就在那里,只花了一段时间才找到:X Values Command --------------------------------- ----------------------------------------------- CALCulate:X [:值]? (只读)以当前单位返回所选测量的激励值。 您可以使用Calc:Par:MNUM或Calc:Par:Select为每个通道选择一个测量。 学到更多。 此命令可用于所有测量类。 参数任何现有的频道号; 如果未指定,则将值设置为1.示例1.计算:参数:选择“MyGCATrace”2.计算:X? 返回类型取决于FORM:DATA命令默认值不适用 以上来自于谷歌翻译 以下为原文 I knew it was in there, just took a while to find: X Values Command -------------------------------------------------------------------------------- CALCulate:X[:VALues]? (Read-only) Returns the stimulus values for the selected measurement in the current units. You can select one measurement for each channel using Calc:Par:MNUM or Calc:Par:Select. Learn more. This command can be used for all Measurement Classes. Parameters Any existing channel number; if unspecified, value is set to 1. Examples 1. Calc:Par:Sel "MyGCATrace" 2. CALC:X? Return Type Depends on FORM:DATA command Default Not applicable |
|
|
|
您好,有人可以告诉我在S21跟踪中某点测量来自VNA的相位数据的SCPI代码是什么?
先谢谢你。 的SRM 以上来自于谷歌翻译 以下为原文 Hello, can someone tell me what is the SCPI code to measure Phase data from the VNA at a point in S21 trace? Thank you in advance. srms |
|
|
|
您可以通过两种方式完成:首先将格式更改为阶段[Calc:Form:Phas]然后读取FDATA或更改读取命令以读取SDATA,它将返回实际/ im值,并从ATAN2计算相位(im / real )。 以上来自于谷歌翻译 以下为原文 You can do it two ways: First change the format to phase [Calc:Form:Phas] then read the FDATA or change the read command to read SDATA and it will return real/im values,and compute phase from ATAN2(im/real). |
|
|
|
脑洞大赛9 发表于 2019-5-20 15:39 > {quote:title = Dr_joel写道:} {quote}>您可以通过两种方式完成:>>首先将格式更改为阶段[Calc:Form:Phas]然后读取FDATA >>>或更改读取命令以读取SDATA 它将返回real / im值,并从ATAN2计算相位(im / real)。 只是为了跟进Joel博士的回答,第二个选择返回弧度,所以如果你想要度数乘以180 / pi。 此外,如果您使用Excel来计算此值,请反转实部和虚部:ATAN2(re,im)Spacecase 以上来自于谷歌翻译 以下为原文 > {quote:title=Dr_joel wrote:}{quote} > You can do it two ways: > > First change the format to phase [Calc:Form:Phas] then read the FDATA > > or change the read command to read SDATA and it will return real/im values,and compute phase from ATAN2(im/real). Just to follow up on Dr Joel's response, the second choice returns radians so if you want degrees multiply by 180/pi. Also, if you use Excel to compute this, reverse the real and imaginary portion: ATAN2(re, im) Spacecase |
|
|
|
只有小组成员才能发言,加入小组>>
1215 浏览 0 评论
2345 浏览 1 评论
2149 浏览 1 评论
2018 浏览 5 评论
2898 浏览 3 评论
953浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
694浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
794浏览 0评论
1218浏览 0评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-19 12:36 , Processed in 1.620725 second(s), Total 106, Slave 90 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号