Method (Write Only)
SCPI.MMEMory.STORe.SNP.DATA = File
Saves the measurement data for the active channel (specified with the SCPI.DISPlay.WINDow(Ch).ACTivate command) 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 |
File |
Description |
File name you want to use when saving file in the touchstone format |
Range |
254 characters or less |
When invalid extension is specified, an error message appears and the command is ignored.
Dim SnpPorts(1) As Variant
SCPI.DISPlay.WINDow(1).ACTivate
SCPI.MMEMory.STORe.SNP.FORMat = "RI"
SnpPorts(0) = 1
SnpPorts(1) = 2
SCPI.MMEMory.STORe.SNP.TYPE.S2P = SnpPorts
SCPI.MMEMory.STORe.SNP.DATA = "SNP01.s2p"
SCPI.DISPlay.WINDow(Ch).ACTivate
SCPI.MMEMory.STORe.SNP.TYPE.S1P
SCPI.MMEMory.STORe.SNP.TYPE.S2P
After a file type is specified, a dialog box will appear.
:MMEMory:STORe:SNP[:DATA] <string>
10 OUTPUT 717;"DISP:WIND1:ACT"
20 OUTPUT 717;":MMEM:STOR:SNP:FORM RI"
30 OUTPUT 717;":MMEM:STOR:SNP:TYPE:S2P 1,2"
40 OUTPUT 717;":MMEM:STOR:SNP ""SNP01.s2p"""