问题
我使用 zvb 测量 s 参数,并提取测量数据。
我获取的值是实数和虚数。
我能否直接读取 zvb 的幅度 (db) 和相位 (°)?
我使用 zvb 测量 s 参数,并提取测量数据。
我获取的值是实数和虚数。
我能否直接读取 zvb 的幅度 (db) 和相位 (°)?
您可以直接读取 zvb8 的幅度和相位。
首先,您必须显示一条幅度迹线以及另一条相位迹线。 之后,您可以读取格式化数据。
此处示例显示 trc1 中的 s11 幅度以及 trc2 中的 s11 相位,然后读出 s11 的幅度和相位值
init:cont off 'switch to single sweep
calc1:par:meas 'trc1','s11' ''trc1' in channel 1 to measure 's11'
calc1:par:sel 'trc1' 'activate trace trc1 in channel 1
calc1:form mlog 'set trace 1 to magnitude
calc1:par:sdef 'trc2','s11' ''trc2' in channel 1 to measure 's11'
calc1:par:sel 'trc2' 'activate trace trc2 in channel 1
calc1:form phas 'set trace 2 to phase
display:window1:state on 'display the window
disp:wind1:trac2:feed 'trc2' 'assign the trace to the window
init:imm;*opc 'start sweep
== wait now for the opc-bit ==
calc:data:dall? fdata 'get the formatted data of both traces – first all magnitude values and then all phase values