Saving and recalling
SCPI.MMEMory.STORe.STATe
Attribute | Detail |
---|---|
Object Type | Property (write only) |
Data Type | String |
Target | Analyzer |
Description | Saves the analyzer state into a file with the specified name. |
Range | up to 254 characters |
Syntax | app.SCPI.MMEMory.STORe.STATe = File |
Notes | If the full path to the file is not specified, the file will be saved to the \State subdirectory of the main directory. The state files have *.sta extension by default. |
Equivalent Softkeys | Save/Recall > Save State > State… |
SCPI.MMEMory.LOAD.STATe
Attribute | Detail |
---|---|
Object Type | Property (write only) |
Data Type | String |
Target | Analyzer |
Description | Recalls the specified analyzer state file. The file must be saved by the SCPI.MMEMory.STORe.STATe property. |
Range | up to 254 characters |
Syntax | app.SCPI.MMEMory.LOAD.STATe = File |
Notes | If the full path to the file is not specified, the \State subdirectory of the main directory will be searched for the file. The analyzer state files have *.sta extension by default. |
Equivalent Softkeys | Save/Recall > Recall State > State… |
SCPI.MMEMory.STORe.CHANnel.STATe
Attribute | Detail |
---|---|
Object Type | Property (write only) |
Data Type | String |
Target | Active channel |
Description | Saves the analyzer state of the items set for the active channel into one of the four memory registers. |
Range | "A" : Save to register A "B" : Save to register B "C" : Save to register C "D" : Save to register D |
Out of Range | The value is ignored. |
Syntax | app.SCPI.MMEMory.STORe.CHANnel.STATe = "A" |
Equivalent Softkeys | Save/Recall > Save Channel > State A / B / C / D |
SCPI.MMEMory.STORe.CHANnel.CLEar
Attribute | Detail |
---|---|
Object Type | Method |
Target | Analyzer |
Description | Clears the memory of the channel state saved by the SCPI.MMEMory.STORe.CHANnel.STATe property. |
Syntax | app.SCPI.MMEMory.STORe.CHANnel.CLEar |
Equivalent Softkeys | Save/Recall > Save Channel > Clear States |
SCPI.MMEMory.LOAD.CHANnel.STATe
Attribute | Detail |
---|---|
Object Type | Property (write only) |
Data Type | String |
Target | Active channel |
Description | Recalls the analyzer state for the active channel, saved in one of the four memory registers by the SCPI.MMEMory.STORe.CHANnel.STATe property. |
Range | "A" : Recall from register A "B" : Recall from register B "C" : Recall from register C "D" : Recall from register D |
Out of Range | The value is ignored. |
Syntax | app.SCPI.MMEMory.LOAD.CHANnel.STATe = "A" |
Equivalent Softkeys | Save/Recall > Recall Channel > State A / B / C / D |
SCPI.MMEMory.STORe.STYPe
Attribute | Detail |
---|---|
Object Type | Property (read/write) |
Data Type | String |
Target | Analyzer |
Description | Selects the type of the analyzer or channel state saving by the SCPI.MMEMory.STORe.STATe or SCPI.MMEMory.STORe.CHANnel.STATe property. |
Range | "STATe" : Measurement conditions "CSTate" : Measurement conditions and calibration tables "DSTate" : Measurement conditions and data traces "CDSTate" : Measurement conditions, calibration tables and data traces |
Notes | The short form of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters. |
Out of Range | An error occurs. Error code 205. |
Preset Value | "CST" |
Syntax | Dim Param As String Param = app.SCPI.MMEMory.STORe.STYPe app.SCPI.MMEMory.STORe.STYPe = "STATe" |
Equivalent Softkeys | Save/Recall > Save Type |
SCPI.MMEMory.STORe.FDATa
Attribute | Detail |
---|---|
Object Type | Property (write only) |
Data Type | String |
Target | Active trace of the active channel |
Description | Saves the CSV formatted data into a file. |
Range | up to 254 characters |
Syntax | app.SCPI.MMEMory.STORe.FDATa = File |
Notes | If the full path to the file is not specified, the file will be saved to the \CSV subdirectory of the main directory. The files have *.csv extension by default. |
Equivalent Softkeys | Save/Recall > Save Trace Data |
SCPI.MMEMory.STORe.SNP.DATA
Attribute | Detail |
---|---|
Object Type | Property (write only) |
Data Type | String |
Target | Active channel |
Description | Saves the measured S–parameters of the active channel into a Touchstone file with the specified name. The file type (1–port or 2–port) is set by the SCPI.MMEMory.STORe.SNP.TYPE.S1P and SCPI.MMEMory.STORe.SNP.TYPE.S2P properties. 1–port type file saves one reflection parameter: S11 or S22. 2–port type file saves all the four parameters: S11, S21, S12, S22. |
Range | up to 254 characters |
Syntax | app.SCPI.MMEMory.STORe.SNP.DATA = File |
Notes | If the full path to the file is not specified, the file will be saved to the \FixtureSim subdirectory of the main directory. The 1–port measurement files have .slp extension; the 2–port measurement files have .s2p extension. |
Equivalent Softkeys | Save/Recall > Save Data to Touchstone File > Save File… |
SCPI.MMEMory.STORe.SNP.TYPE.S2P
Attribute | Detail |
---|---|
Object Type | Property (read/write) |
Data Type | Variant (array of long) |
Target | Active channel |
Description | Selects 2-port measurements and sets port numbers when saving the measured S-parameters by the SCPI.MMEMory.STORe.SNP.DATA property. The array contains 2 elements: Data(0) First port number (reads out 1, ignored when written); Data(1) Second port number (reads out 2, ignored when written). |
Syntax | Dim Data As Variant Data = app.SCPI.MMEMory.STORe.SNP.TYPE.S2P app.SCPI.MMEMory.STORe.SNP.TYPE.S2P = Array(1, 2) |
Equivalent Softkeys | Save/Recall > Save Data to Touchstone File > Type > 2–Port (s2p) |
SCPI.MMEMory.STORe.SNP.TYPE.S1P
Attribute | Detail |
---|---|
Object Type | Property (read/write) |
Data Type | Long |
Target | Active channel |
Description | Selects 1-port measurements and sets port numbers (selects S11 or S22 parameter) when saving the measured S-parameters by the SCPI.MMEMory.STORe.SNP.DATA property. |
Range | from 1 to 2 |
Out of Range | An error occurs. Error code 222. |
Preset Value | 1 |
Syntax | Dim Value As Long Value = app.SCPI.MMEMory.STORe.SNP.TYPE.S1P app.SCPI.MMEMory.STORe.SNP.TYPE.S1P = 2 |
Equivalent Softkeys | Save/Recall > Save Data to Touchstone File > Type > 1–Port (s1p) Save/Recall > Save Data to Touchstone File > Select Port |
SCPI.MMEMory.STORe.SNP.FORMat
Attribute | Detail |
---|---|
Object Type | Property (read/write) |
Data Type | String |
Target | Active channel |
Description | The data format for the S–parameters saving by the SCPI.MMEMory.STORe.SNP.DATA property. |
Range | " MA" : Logarithmic Magnitude / Angle format " DB" : Linear Magnitude / Angle format " RI" : Real part /Imaginary part format |
Out of Range | The value is ignored. |
Preset Value | "RI" |
Syntax | Dim Param As String Param = app.SCPI.MMEMory.STORe.SNP.FORMat app.SCPI.MMEMory.STORe.SNP.FORMat = "DB" |
Equivalent Softkeys | Save/Recall > Save Data to Touchstone File > Format |
SCPI.MMEMory.LOAD.SNP.TRACe(Tr).MEMory
Attribute | Detail |
---|---|
Object Type | Property (write only) |
Data Type | String |
Target | The specified memory trace Tr of active channel, Tr: trace number 1–16 (see Table 3 on page 33) Active channel set by command SCPI.DISPlay.WINDow(Ch).ACTivate |
Description | Loads the Touchstone file with the specified name to the memory trace. The Touchstone file types .s1p (1–port) and .s2p (2–port) are supported. The current measured S-parameter of data trace selects the appropriate S-parameter from Touchstone file. After successful load the display of memory trace is automatically switched on. |
Range | up to 254 characters |
Syntax | app.SCPI.MMEMory.LOAD.SNP.TRACe(Tr).MEMory = File |
Equivalent Softkeys | Save/Recall > Load Data From Touchstone File > To Active Trace… |
SCPI.MMEMory.LOAD.SNP.DATA
Attribute | Detail |
---|---|
Object Type | Property (write only) |
Data Type | String |
Target | Active channel |
Description | Loads the Touchstone file with the specified name to the measured S–parameters of the active channel. The Touchstone file types .s1p (1–port) and .s2p (2–port) are supported. .s1p file loads the S11 parameter only. .s2p file loads all S11, S21, S12 and S22 parameters. On completion of the command, the channel goes to the hold state. |
Range | up to 254 characters |
Syntax | app.SCPI.MMEMory.LOAD.SNP.DATA = File |
Equivalent Softkeys | Save/Recall > Load Data From Touchstone File > To S-parameters… |