Property (Read-Write)
SCPI.CALCulate(Ch).SELected.FORMat = Param
Param = SCPI.CALCulate(Ch).SELected.FORMat
This command sets/gets the data format of the active trace of the selected channel (Ch).
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
:CALCulate{[1]-4}[:SELected]:FORMat {MLOGarithmic|PHASe|GDELay| SLINear|SLOGarithmic|SCOMplex|SMITh|SADMittance|PLINear|PLOGarithmic|POLar|MLINear|SWR|REAL| IMAGinary|UPHase|PPHase}
:CALCulate{[1]-4}[:SELected]: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$