Property (Read-Write)
SCPI.CALCulate(Ch).SELected.ZPARameter.DEFine = Param
Param = SCPI.CALCulate(Ch).SELected.ZPARameter.DEFine
This command sets/gets the impedance measurement parameter of the selected trace (Tr), for the selected channel (Ch).
Parameter |
Param |
Description |
Measurement parameter |
Data Type |
Character string type (String) |
Range |
Select one of the following parameters: Z|Y|Cp|Cs|Lp|Ls|Rp|Rs|D|Q |
Preset Value |
Z |
Unit |
- |
Resolution |
- |
This example shows to set the impedance measurement parameter for Trace 1 of Channel 1.
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "S11"
SCPI.SENSe(1).Z.METHod = "P1Reflection" ' (or "P2Reflection", "TSERies", "TSHunt")
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Z"
SCPI.CALCulate(1).SELected.FORMat = "MLINear"
SCPI.DISPlay.WINDow(1).TRACe(1).Y.SCALe.ABSolute.UNIT = chr$(217) ' Greek symbol of Ohm
To set the impedance parameters for more than two traces, set the number of traces with SCPI.CALCulate.PARameter.COUNt and repeat the above procedure by changing the trace number Tr of PARameter(Tr) and TRACe(Tr).
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "S11"
SCPI.SENSe(1).Z.METHod = "P1Reflection" ' (or "P2Reflection", "TSERies", "TSHunt")
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Z"
SCPI.CALCulate(1).SELected.FORMat = "PHASe"
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "S11"
SCPI.SENSe(1).Z.METHod = "P1Reflection" ' (or "P2Reflection", "TSERies", "TSHunt")
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Y"
SCPI.CALCulate(1).SELected.FORMat = "MLINear"
SCPI.DISPlay.WINDow(1).TRACe(1).Y.SCALe.ABSolute.UNIT = "S"
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "S11"
SCPI.SENSe(1).Z.METHod = "P1Reflection" ' (or "P2Reflection", "TSERies", "TSHunt")
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Y"
SCPI.CALCulate(1).SELected.FORMat = "PHASe"
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "S11"
SCPI.SENSe(1).Z.METHod = "P1Reflection" ' (or "P2Reflection", "TSERies", "TSHunt")
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Z"
SCPI.CALCulate(1).SELected.FORMat = "REAL"
SCPI.DISPlay.WINDow(1).TRACe(1).Y.SCALe.ABSolute.UNIT = chr$(217) ' Greek symbol of Ohm
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "S11"
SCPI.SENSe(1).Z.METHod = "P1Reflection" ' (or "P2Reflection", "TSERies", "TSHunt")
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Z"
SCPI.CALCulate(1).SELected.FORMat = "IMAG"
SCPI.DISPlay.WINDow(1).TRACe(1).Y.SCALe.ABSolute.UNIT = chr$(217) ' Greek symbol of Ohm
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "S11"
SCPI.SENSe.Z.METHod = "P1Reflection" ' (or "P2Reflection", "TSERies", "TSHunt")
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Y"
SCPI.CALCulate(1).SELected.FORMat = "REAL"
SCPI.DISPlay.WINDow(1).TRACe(1).Y.SCALe.ABSolute.UNIT = "S"
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter*(1).DEFine = "S11"
SCPI.SENSe.Z.METHod = "P1Reflection" ' (or "P2Reflection", "TSERies", "TSHunt")
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Y"
SCPI.CALCulate(1).SELected.FORMat = "IMAG"
SCPI.DISPlay.WINDow(1).TRACe(1).Y.SCALe.ABSolute.UNIT = "S"
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "S11"
SCPI.SENSe(1).Z.METHod = "P1Reflection" ' (or "P2Reflection", "TSERies", "TSHunt")
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "CP" ' (or "CS", "LP", "LS", "RP, "RS" ,"D", "Q")
SCPI.CALCulate(1).SELected.FORMat = "REAL"
SCPI.DISPlay.WINDow(1).TRACe(1).Y.SCALe.ABSolute.UNIT = "F" ' (for CP, CS), "H" (for LP, LS), chr$(217) (for RP, RS), or "" (for D, Q)
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "TR"
SCPI.SENSe(1).Z.METHod = "GSERies" ' (or "GSHunt")
SCPI.INPut.IMPedance.GPPort.R = 1000000# (or 50 for “GSHunt” mode)
SCPI.INPut.IMPedance.GPPort.T = 50
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Z"
SCPI.CALCulate(1).SELected.FORMat = "MLINear"
SCPI.DISPlay.WINDow(1).TRACe(1).Y.SCALe.ABSolute.UNIT = chr$(217) ' Greek symbol of Ohm
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "TR"
SCPI.SENSe(1).Z.METHod = "GSERies" ' (or "GSHunt")
SCPI.INPut.IMPedance.GPPort.R = 1000000# (or 50 for “GSHunt” mode)
SCPI.INPut.IMPedance.GPPort.T = 50
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Z"
SCPI.CALCulate(1).SELected.FORMat = "PHASe"
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "TR"
SCPI.SENSe(1).Z.METHod = "GSERies" ' (or "GSHunt")
SCPI.INPut.IMPedance.GPPort.R = 1000000# (or 50 for “GSHunt” mode)
SCPI.INPut.IMPedance.GPPort.T = 50
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Y"
SCPI.CALCulate(1).SELected.FORMat = "MLINear"
SCPI.DISPlay.WINDow(1).TRACe(1).Y.SCALe.ABSolute.UNIT = "S"
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "TR"
SCPI.SENSe(1).Z.METHod = "GSERies" ' (or "GSHunt")
SCPI.INPut.IMPedance.GPPort.R = 1000000# (or 50 for “GSHunt” mode)
SCPI.INPut.IMPedance.GPPort.T = 50
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Y"
SCPI.CALCulate(1).SELected.FORMat = "PHASe"
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "TR"
SCPI.SENSe(1).Z.METHod = "GSERies" ' (or "GSHunt")
SCPI.INPut.IMPedance.GPPort.R = 1000000# (or 50 for “GSHunt” mode)
SCPI.INPut.IMPedance.GPPort.T = 50
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Z"
SCPI.CALCulate(1).SELected.FORMat = "REAL"
SCPI.DISPlay.WINDow(1).TRACe(1).Y.SCALe.ABSolute.UNIT = chr$(217) ' Greek symbol of Ohm
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "TR"
SCPI.SENSe(1).Z.METHod = "GSERies" ' (or "GSHunt")
SCPI.INPut.IMPedance.GPPort.R = 1000000# (or 50 for “GSHunt” mode)
SCPI.INPut.IMPedance.GPPort.T = 50
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Z"
SCPI.CALCulate(1).SELected.FORMat = "IMAG"
SCPI.DISPlay.WINDow(1).TRACe(1).Y.SCALe.ABSolute.UNIT = chr$(217) ' Greek symbol of Ohm
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "TR"
SCPI.SENSe(1).Z.METHod = "GSERies"" ' (or "GSHunt")
SCPI.INPut.IMPedance.GPPort.R = 1000000# (or 50 for “GSHunt” mode)
SCPI.INPut.IMPedance.GPPort.T = 50
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Y"
SCPI.CALCulate(1).SELected.FORMat = "REAL"
SCPI.DISPlay.WINDow(1).TRACe(1).Y.SCALe.ABSolute.UNIT = "S"
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "TR"
SCPI.SENSe(1).Z.METHod = "GSERies"" ' (or "GSHunt")
SCPI.INPut.IMPedance.GPPort.R = 1000000# (or 50 for “GSHunt” mode)
SCPI.INPut.IMPedance.GPPort.T = 50
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "Y"
SCPI.CALCulate(1).SELected.FORMat = "IMAG"
SCPI.DISPlay.WINDow(1).TRACe(1).Y.SCALe.ABSolute.UNIT = "S"
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).PARameter(1).DEFine = "TR"
SCPI.SENSe(1).Z.METHod = "GSERies" ' (or "GSHunt")
SCPI.INPut.IMPedance.GPPort.R = 1000000# (or 50 for “GSHunt” mode)
SCPI.INPut.IMPedance.GPPort.T = 50
SCPI.CALCulate(1).PARameter(1).DEFine = "Z"
SCPI.CALCulate(1).SELected.ZPARameter.DEFine = "CP" ' (or "CS", "LP", "LS", "RP, "RS" ,"D", "Q"
SCPI.CALCulate(1).SELected.FORMat = "REAL"
SCPI.DISPlay.WINDow(1).TRACe(1).Y.SCALe.ABSolute.UNIT = "F" ' (for CP, CS), "H" (for LP, LS), chr$(217) (for RP, RS), or "" (for D, Q)
The stop frequency must be set to below 30 MHz before executing the command of SCPI.CALCulate(1).PARameter(1).DEFine = "TR".
SCPI.CALCulate(Ch).PARameter(Tr).DEFine
SCPI.CALCulate(Ch).PARameter(Tr).SELect
SCPI.CALCulate(Ch).SELected.FORMat
SCPI.DISPlay.WINDow(Ch).TRACe(Tr).Y.SCALe.ABSolute.UNIT
Meas > Impedance Analysis Menu > |Z| or
Meas > Impedance Analysis Menu > |Y| or
Meas > Impedance Analysis Menu > Cp or
Meas > Impedance Analysis Menu > Cs or
Meas > Impedance Analysis Menu > Lp or
Meas > Impedance Analysis Menu > Ls or
Meas > Impedance Analysis Menu > Rp or
Meas > Impedance Analysis Menu > Rs or
Meas > Impedance Analysis Menu > D or
Meas > Impedance Analysis Menu > Q
:CALCulate{[1]-4}[:SELected]:ZPARameter:DEFine <string>
:CALCulate{[1]-4}[:SELected]:ZPARameter:DEFine?
<string><newline><^END>
Refer to Example for COM