Programming
357
Dim Var as String
Var= "COMP"
Ana.WriteString ":CALC1:FORM:TWOD " & Var, True
Ana.WriteString ":CALC1:FORM:TWOD?", True
Var=Ana.ReadString
Related Commands
:CALC:PAR:DEF
Equivalent Softkey
Format > Complex Format
COM Command Syntax (Internal Control Only)
SCPI.CALCULATE(Ch).SELECTED.FORMAT.TWODIMENSION
:CALC<Ch>:FUNC:DATA
Type
Query
Syntax
:CALCulate<Ch>[:SELected]:FUNCtion:DATA?
Description
This command reads the analysis result of the :CALC:FUNC:EXEC.
Query Response
When :CALC:FUNC:TYPE is either PTP, STDEV, MEAN, MAX, MIN, PEAK,
APE, ATAR, or SDEV.
{numeric 1}, .... ,{numeric Nx2}<newline><^END>
N (number of data pairs) can be read out with the :CALC:FUNC:POIN
.
{numeric n×2-1}: Response value or analysis result of the searched n-th
result. {numeric nx2}: Stimulus value of the searched n-th result.
When :CALC:FUNC:TYPE
is either RPP, RPLH,RPLL, or RPLR.
{numeric}
When :CALC:FUNC:TYPE is RESO
{numeric (Zr: Resonant impedance)},{numeric (fr: Resonant frequency)},
{numeric (Za: Antiresonant impedance)}, {numeric (fa: Antiresonant
frequency)}
When :CALC:FUNC:TYPE is RESR
{numeric (Zr: Resonant impedance)},{numeric (fr: Resonant frequency)},
{numeric (Za: Antiresonant impedance)}, {numeric (fa: Antiresonant
frequency)}, {numeric (Ripple 1)}, {numeric (Ripple 2)}, {numeric
(Ripple 3)}
• Ripple 1: the maximum value of the left-side ripple (the sweep
parameter difference between the peak and the left adjacent