:CALCulate[:SELected]:ZPARameter:DEFine
Description
This command selects the measurement value of the impedance measurement.
Syntax |
Parameter |
:CALCulate<ch>[:SELected]:ZPARameter:DEFine |
{ Z | Y | REFLection | Cp | Cs | Lp | Ls | Rp | Rs | Q | QTg | D } |
Parameters |
accepted format |
allowed suffixes |
possible Errors |
description |
<ch > |
{ 1 | empty } |
none |
Invalid channel index |
Currently only one channel is supported. Empty means 1 is used as default. |
{ Z | Y | REFLection | Cp | Cs | Lp | Ls | Rp | Rs | Q | QTg | D } |
exactly the given options |
none |
Illegal parameter value |
the type of the impedance measurement result |
Syntax |
Response |
:CALCulate<ch>[:SELected]:ZPARameter:DEFine? |
{ Z | Y | REFLection | CP | CS | LP | LS | RP | RS | Q | QTG | D } |
Parameters |
accepted format |
description |
<ch > |
{ 1 | empty } |
Currently only one channel is supported. Empty means 1 is used as default. |
Response value |
description |
{ Z | Y | REFLection | CP | CS | LP | LS | RP | RS | Q | QTG | D } |
the type of the impedance measurement result |
Options
Options |
Description |
Cp |
Parallel capacitance |
Cs |
Serial capacitance |
D |
Dissipation factor (tan delta ) |
Lp |
Parallel inductance |
Ls |
Serial inductance |
QTg |
Quality factor calculated based on the group delay time (Tg) |
Q |
Quality factor |
Rp |
Parallel resistance |
Rs |
Serial resistance |
Y |
Admittance |
Z |
Impedance |
REFLection |
Reflection |
Important
All parameters except Y
,Z
and REFLection
are represented as real numeric values and require therefore REAL
for the selected measurement format :CALCulate[:SELected]:FORMat. All other formats result in a settings conflict error -221
.
Presets
default value |
|
{ Z | Y | REFLection | CP | CS | LP | LS | RP | RS | Q | QTG | D } |
Z |
Sample usage
Configure and start a measurement of the serial capacitance.
var visaSession = new TcpipSocket(VISA_RESOURCENAME);
visaSession.RawIO.Write(":CALC:PAR:DEF Z\n");
visaSession.RawIO.Write(":CALC:ZPAR:DEF Cs\n");
visaSession.RawIO.Write(":CALC:FORM REAL\n");
visaSession.RawIO.Write(":TRIG:SING\n");
// wait for the measurement to finish
visaSession.RawIO.Write("*OPC?\n");
visaSession.RawIO.ReadString();
visaSession.RawIO.Write(":SENS:FREQ:DATA?\n");
var frequencyValues = visaSession.RawIO.ReadString();
visaSession.RawIO.Write(":CALC:DATA:SDAT?\n");
var measurementValues = visaSession.RawIO.ReadString();
Input:
visaSession.write(':CALC:PAR:DEF Z\n')
visaSession.write(':CALC:ZPAR:DEF Cs\n')
visaSession.write(':CALC:FORM REAL\n')
visaSession.write(':TRIG:SING\n')
# wait for the measurement to finish
visaSession.query('*OPC?\n')
frequencyValues = visaSession.query(':SENS:FREQ:DATA?\n')
measurementValues = visaSession.query(':CALC:DATA:SDAT?\n')
GroupDelayTg()
Phase(AngleUnit)
UnwrappedPhase(AngleUnit)
Real()
Magnitude(MagnitudeUnit)
VSWR()
Lp()
Cp()
Rp()
Ls()
Cs()
Rs()
Q()
QTg()