Command
:MMEMory:STORe:SNP[:DATA] <String>
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.
Parameter |
String |
Description |
File name of the touchstone file |
Data Type |
Character string type (String) |
Range |
254 chars |
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
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
MMEM:STOR:SNP (This command)
SCPI.MMEMORY.STORE.SNP.DATA