:MMEM:STOR:SNP

Type

Command

Syntax

:MMEMory:STORe:SNP[:DATA] <String>

Description

This command saves the measurement data for the active channel into a file in the touchstone format.

You need to specify a file format and file type before saving a file. The extension differs depending on file types as shown in the following table:

<file type>

<extension>

When specifying one port

s1p

When specifying two ports

s2p

      • When you use directory names and file name, separate them with “/” (slash) or “\” (back slash).

If a file with the specified file name already exists, its contents are overwritten.

Variable

Parameter

String

Description

File name of the touchstone file

Data Type

Character string type (String)

Range

254 chars

Examples

Dim Var1 as String, Var2 as String
Var1 = "TS1.s1p"
Var2 = "TS2.s2p"
Ena.WriteString ":MMEM:STOR:SNP:TYPE:S1P 1", True
Ena.WriteString ":MMEM:STOR:SNP " & Var1, True
Ena.WriteString ":MMEM:STOR:SNP:TYPE:S2P 1,2", True
Ena.WriteString ":MMEM:STOR:SNP " & Var2, True

Related Commands

:DISP:WIND:ACT

:MMEM:STOR:SNP:FORM

:MMEM:STOR:SNP:TYPE:S1P

:MMEM:STOR:SNP:TYPE:S2P

Equivalent Softkey

Save/Recall > Save SnP > S1P > [1]... | [2]...

Save/Recall > Save SnP > S2P > [1-2]...

These softkeys operation can be done with the following two commands

COM Command Syntax (Internal Control Only)

SCPI.MMEMORY.STORE.SNP.DATA