SCPI.CALCulate(Ch).SELected.FORMat

Object type

Property (Read-Write)

Syntax

All revision:

SCPI.CALCulate(Ch).SELected.FORMat = Param

Param = SCPI.CALCulate(Ch).SELected.FORMat

 

In revision A.9.60 and above, the following syntax is also supported:

SCPI.CALCulate(Ch).TRACe(Tr).FORMat = Param

Param = SCPI.CALCulate(Ch).TRACe(Tr).FORMat

Description

This command sets/gets the data format of the active trace of selected channel (Ch).

 

In revision A.9.60 and above, you can select the trace and set/get the data format of the trace just by executing the above TRACe(Tr) command. You do not need to execute SCPI.CALCulate(Ch).PARameter(Tr).SELect.

Variable

Parameter

Param

Description

Data format

Data type

Character string type (String)

Range

Select from the following:

  • "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"

Examples

Dim Fmt As String
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).SELected.FORMat = "smit"
Fmt = SCPI.CALCulate(1).SELected.FORMat

Related objects

SCPI.CALCulate(Ch).PARameter(Tr).SELect

Equivalent key

Format > Log Mag|Phase|Group Delay|Lin Mag|SWR|Real|Imaginary|Expand Phase| Positive Phase

Format > Smith > Lin/Phase|Log/Phase|Real/Imag|R+jX|G+jB

Format > Polor > Lin/Phase|Log/Phase|Real/Imag

Equivalent SCPI command

Syntax

All revision:

:CALCulate{[1]-160}[:SELected]:FORMat {MLOGarithmic|PHASe|GDELay| SLINear|SLOGarithmic|SCOMplex|SMITh|SADMittance|PLINear|PLOGarithmic|POLar|MLINear|SWR|REAL| IMAGinary|UPHase|PPHase}

:CALCulate{[1]-160}[:SELected]:FORMat?

 

In revision A.9.60 and above, the following syntax is also supported:

:CALCulate{[1]-160}:TRACe{[1]-16}:FORMat {MLOGarithmic|PHASe|GDELay| SLINear|SLOGarithmic|SCOMplex|SMITh|SADMittance|PLINear|PLOGarithmic|POLar|MLINear|SWR|REAL| IMAGinary|UPHase|PPHase}

:CALCulate{[1]-160}:TRACe{[1]-16}:FORMat?

Query response

{MLOG|PHAS|GDEL|SLIN|SLOG|SCOM|SMIT|SADM|PLIN|PLOG|POL|MLIN|SWR| REAL|IMAG|UPH|PPH}<newline><^END>

Example of use

10 OUTPUT 717;":CALC1:FORM SLIN"
20 OUTPUT 717;":CALC1:FORM?"
30 ENTER 717;A$