Command/Query
:CALCulate<Ch>[:SELected]:FORMat {MLOGarithmic|PHASe|GDELay|SLINear|SLOGarithmic|SCOMplex|SMITh|SADMittance|PLINear|PLOGarithmic|POLar|MLINear|SWR|REAL|IMAGinary|UPHase|PPHase}
:CALCulate<Ch>[:SELected]:FORMat?
The following syntax is also supported:
:CALCulate<Ch>:TRACe<Tr>:FORMat {MLOGarithmic|PHASe|GDELay|SLINear|SLOGarithmic|SCOMplex|SMITh|SADMittance|PLINear|PLOGarithmic|POLar|MLINear|SWR|REAL|IMAGinary|UPHase|PPHase}
:CALCulate<Ch>:TRACe<Tr>:FORMat?
This command sets/gets the data format.
Parameter |
Selection Option |
Description |
Data format |
Data Type |
Character string type (String) |
Range |
"MLOGarithmic": Specifies the log magnitude format. "PHASe": Specifies the phase format. "GDELay": Specifies the group delay format. "SLINear": Specifies the Smith chart format (Lin/Phase). "SLOGarithmic": Specifies the Smith chart format (Log/Phase). "SCOMplex": Specifies the Smith chart format (Re/Im). "SMITh": Specifies the Smith chart format (R+jX). "SADMittance": Specifies the Smith chart format (G+jB). "PLINear": Specifies the polar format (Lin/Phase). "PLOGarithmic": Specifies the polar format (Log/Phase). "POLar": Specifies the polar format (Re/Im). "MLINear": Specifies the linear magnitude format. "SWR": Specifies the SWR format. "REAL": Specifies the real format. "IMAGinary": Specifies the imaginary format. "UPHase": Specifies the expanded phase format. "PPHase": Specifies the positive phase format. |
Preset Value |
"MLOGarithmic" |
{MLOG|PHAS|GDEL|SLIN|SLOG|SCOM|SMIT|SADM|PLIN|PLOG|POL|MLIN|SWR|REAL|IMAG|UPH|PPH}<newline><^END>
Dim Var as String
Var= "MLOGarithmic"
Ena.WriteString ":CALC1:FORM" & Var, True
Ena.WriteString ":CALC1:FORM?", True
Var=Ena.ReadString
Format > Log Mag
Format > Phase
Format > Group Delay
Format > Smith > Lin / Phase
Format > Smith > Log / Phase
Format > Smith > Real / Imag
Format > Smith > R + jX
Format > Smith > G + jB
Format > Polar > Lin / Phase
Format > Polar > Log
Format > Polar > Log / Phase
Format > Polar > Real / Imag
Format > Lin Mag
Format > SWR
Format > Real
Format > Imaginary
Format > Expand Phase
Format > Positive Phase
SCPI.CALCULATE(Ch).SELECTED.FORMAT
SCPI.CALCULATE(Ch).TRACE(Tr).FORMAT