:CALCulate[:SELected]:ZPARameter:DEFine
Description
This command selects the measurement value of the impedance measurement.
Syntax
:CALCulate<ch>[:SELected]:ZPARameter:DEFine
| Command | Query | Query Response |
|---|---|---|
| Yes | Yes | The type of the impedance measurement result, see Parameters below. |
Parameters |
Accepted Format |
Allowed Suffixes |
Possible Errors |
Description |
|---|---|---|---|---|
{ 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. |
To learn more about channels and traces, please refer to the SCPI command structure
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.
Sample usage
Configure and start a measurement of the serial capacitance.
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')