这里实际上有两个问题。
首先是使用命令“CALC1:DATA:SNP?1”。
当你传递“1”时,你所说的是你想要一个S1P文件。
S1P文件(或在这种情况下的数据)仅针对反射参数(即S11,S22,S33,......)定义。
但是,我们不能因为滥用此命令而责怪您,因为在这种情况下我们的文档不正确。
帮助文件说:> 1(S1P)返回活动测量的数据。
应该说的是:* 1(S1P)如果有效测量是反射参数,如S11或S22,则返回有效测量的1端口数据。
如果活动测量是传输参数(例如S21),则行为是UNDEFINED。因此,如果您希望使用此命令获取S21数据,则必须使用*“CALC1:DATA:SNP?2”*。
但是,推荐的命令实际上是“CALCulate:DATA:SNP:PORTs?”
你必须使用* CALCulate:DATA:SNP:PORTs?
“1,2”*如果您想获取S21测量数据。
第二个问题解释了为什么你的“CAL:DATA:SNP:PORT:SAVE'1,2'”没有按预期工作,你有一个大扫描(801)点,但是你没有执行* OPC?
在“SENS:SWE:MODE SING”命令之后,当您在“CAL:DATA:SNP:PORT:SAVE'1,2'”命令中,您写入S2P文件的数据缓冲区尚未完全填满
被执行。
如果你使用以下序列,那么你应该得到正确的数据:* RST:DISP:WIND1:TRAC1:DEL:CALC:PAR:DEF:EXT“s21_1”,“S21”:CALC:PAR:SEL“s21_1”:
DISP:WIND:TRAC1:FEED“s21_1”:SENS:FREQ:STAR 1 GHZ:SENS:FREQ:STOP 4 GHZ:SENS:SWE:POIN 3:SENS:SWE:MODE SING * OPC?
:MMEM:STOR:TRAC:FORM:SNP DB:CALC:DATA:SNP:PORT:SAVE“1,2”,“mysnpfile2.s2p”:SENS:SWE:MODE SING * OPC?编辑:daras于9月24日,
2012年5:02 PM
以上来自于谷歌翻译
以下为原文
there is actually two problem here. first is the use of the command "CALC1:DATA:SNP? 1". when you pass a "1", what you are saying is that you want an S1P file. An S1P file (or data in this case) is only defined for reflection parameters (i.e. S11, S22, S33, ....). However, we can't hardly blame you for misusing this command, because our documentation is incorrect in this case. The help file says:
>1 (S1P) returns data for the active measurement.
what it should say is this:
*1 (S1P) returns 1-Port data for the active measurement if the active measurement is a reflection parameter such as S11 or S22. The behavior is UNDEFINED if the active measurement is a transmission parameter such as an S21*
So if you want your S21 data using this command, then you would have to use *"CALC1:DATA:SNP? 2"*. However, the recommended command is actually "CALCulate:DATA:SNP:PORTs?" and you would have to use *CALCulate:DATA:SNP:PORTs? "1,2"* if you want to get data for an S21 measurement.
the 2nd problem that explains why your "CAL:DATA:SNP:PORT:SAVE '1,2'" didn't work as expected is that you have a large sweep (801) points, but you do not perform an *OPC? after the "SENS:SWE:MODE SING" command, so the data buffers that you are writing to your S2P file have not been fully filled up yet when the "CAL:DATA:SNP:PORT:SAVE '1,2'" command is executed. if you use the following sequence, then you should get the correct data:
*RST
:DISP:WIND1:TRAC1:DEL
:CALC:PAR:DEF:EXT "s21_1","S21"
:CALC:PAR:SEL "s21_1"
:DISP:WIND:TRAC1:FEED "s21_1"
:SENS:FREQ:STAR 1 GHZ
:SENS:FREQ:STOP 4 GHZ
:SENS:SWE:POIN 3
:SENS:SWE:MODE SING
*OPC?
:MMEM:STOR:TRAC:FORM:SNP DB
:CALC:DATA:SNP:PORT:SAVE "1,2","mysnpfile2.s2p"
:SENS:SWE:MODE SING
*OPC?
Edited by: daras on Sep 24, 2012 5:02 PM
这里实际上有两个问题。
首先是使用命令“CALC1:DATA:SNP?1”。
当你传递“1”时,你所说的是你想要一个S1P文件。
S1P文件(或在这种情况下的数据)仅针对反射参数(即S11,S22,S33,......)定义。
但是,我们不能因为滥用此命令而责怪您,因为在这种情况下我们的文档不正确。
帮助文件说:> 1(S1P)返回活动测量的数据。
应该说的是:* 1(S1P)如果有效测量是反射参数,如S11或S22,则返回有效测量的1端口数据。
如果活动测量是传输参数(例如S21),则行为是UNDEFINED。因此,如果您希望使用此命令获取S21数据,则必须使用*“CALC1:DATA:SNP?2”*。
但是,推荐的命令实际上是“CALCulate:DATA:SNP:PORTs?”
你必须使用* CALCulate:DATA:SNP:PORTs?
“1,2”*如果您想获取S21测量数据。
第二个问题解释了为什么你的“CAL:DATA:SNP:PORT:SAVE'1,2'”没有按预期工作,你有一个大扫描(801)点,但是你没有执行* OPC?
在“SENS:SWE:MODE SING”命令之后,当您在“CAL:DATA:SNP:PORT:SAVE'1,2'”命令中,您写入S2P文件的数据缓冲区尚未完全填满
被执行。
如果你使用以下序列,那么你应该得到正确的数据:* RST:DISP:WIND1:TRAC1:DEL:CALC:PAR:DEF:EXT“s21_1”,“S21”:CALC:PAR:SEL“s21_1”:
DISP:WIND:TRAC1:FEED“s21_1”:SENS:FREQ:STAR 1 GHZ:SENS:FREQ:STOP 4 GHZ:SENS:SWE:POIN 3:SENS:SWE:MODE SING * OPC?
:MMEM:STOR:TRAC:FORM:SNP DB:CALC:DATA:SNP:PORT:SAVE“1,2”,“mysnpfile2.s2p”:SENS:SWE:MODE SING * OPC?编辑:daras于9月24日,
2012年5:02 PM
以上来自于谷歌翻译
以下为原文
there is actually two problem here. first is the use of the command "CALC1:DATA:SNP? 1". when you pass a "1", what you are saying is that you want an S1P file. An S1P file (or data in this case) is only defined for reflection parameters (i.e. S11, S22, S33, ....). However, we can't hardly blame you for misusing this command, because our documentation is incorrect in this case. The help file says:
>1 (S1P) returns data for the active measurement.
what it should say is this:
*1 (S1P) returns 1-Port data for the active measurement if the active measurement is a reflection parameter such as S11 or S22. The behavior is UNDEFINED if the active measurement is a transmission parameter such as an S21*
So if you want your S21 data using this command, then you would have to use *"CALC1:DATA:SNP? 2"*. However, the recommended command is actually "CALCulate:DATA:SNP:PORTs?" and you would have to use *CALCulate:DATA:SNP:PORTs? "1,2"* if you want to get data for an S21 measurement.
the 2nd problem that explains why your "CAL:DATA:SNP:PORT:SAVE '1,2'" didn't work as expected is that you have a large sweep (801) points, but you do not perform an *OPC? after the "SENS:SWE:MODE SING" command, so the data buffers that you are writing to your S2P file have not been fully filled up yet when the "CAL:DATA:SNP:PORT:SAVE '1,2'" command is executed. if you use the following sequence, then you should get the correct data:
*RST
:DISP:WIND1:TRAC1:DEL
:CALC:PAR:DEF:EXT "s21_1","S21"
:CALC:PAR:SEL "s21_1"
:DISP:WIND:TRAC1:FEED "s21_1"
:SENS:FREQ:STAR 1 GHZ
:SENS:FREQ:STOP 4 GHZ
:SENS:SWE:POIN 3
:SENS:SWE:MODE SING
*OPC?
:MMEM:STOR:TRAC:FORM:SNP DB
:CALC:DATA:SNP:PORT:SAVE "1,2","mysnpfile2.s2p"
:SENS:SWE:MODE SING
*OPC?
Edited by: daras on Sep 24, 2012 5:02 PM
举报