Property (Read-Write)
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
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.
Parameter |
Param |
Description |
Data format |
Data type |
Character string type (String) |
Range |
Select from the following:
|
Preset value |
"MLOGarithmic" |
Dim Fmt As String
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).SELected.FORMat = "smit"
Fmt = SCPI.CALCulate(1).SELected.FORMat
SCPI.CALCulate(Ch).PARameter(Tr).SELect
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
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?
{MLOG|PHAS|GDEL|SLIN|SLOG|SCOM|SMIT|SADM|PLIN|PLOG|POL|MLIN|SWR| REAL|IMAG|UPH|PPH}<newline><^END>
10 OUTPUT 717;":CALC1:FORM SLIN"
20 OUTPUT 717;":CALC1:FORM?"
30 ENTER 717;A$