VNA Master™Programming Manual : Spectrum Analyzer Commands : :MMEMory Subsystem
 
:MMEMory Subsystem
The Mass MEMory subsystem contains functions that provide access to the instrument’s setup and data storage.
 
Transfer Data
:MMEMory:DATA?
Title
Transfer Data
Description
Transfers the data stored in the given file from the instrument to the controlling program. Data is transferred in the form of <header><block>. The ASCII <header> specifies the number of data byes. It appears as #AX, where A is the number of digits in X, and X is the number of bytes in <block>. <filename> should be enclosed in either single quotes (‘ ’) or double quotes (“ ”) and should contain a file extension (for example, *.stp, *.jpg), and the file must not be larger than 262136 bytes. Use the command MMEMory:MSIS to set the current storage location.
Syntax:
:MMEMory:DATA? <filename>
Cmd Parameter
<filename>
Query Response
<filename>
Front Panel Access
NA
 
Delete Setup/Measurement
:MMEMory:DELete
Description
Removes a file specified by <filename> from the current mass storage device. <filename> should be enclosed in either single quotes (‘ ’) or double quotes (“ ”) and it must include the file extension. Use the command MMEMory:MSIS to set the current file location.
Syntax:
:MMEMory:DELete <filename>
Cmd Parameter
<filename>
Query Response
NA (no query)
Related Command
:MMEMory:STORE:STATe
:MMEMory:STORe:TRACe
:MMEMory:MSIS INTernal|USB
Front Panel Access
Shift‑7 (File), Delete, Delete Selected File
 
Recall Limit
:MMEMory:LOAD:LIMit
Description
Recalls a previously stored limit from the current storage location. The saved limit setting to be loaded is specified by <filename>. <filename> should be enclosed in either single quotes (‘ ’) or double quotes (“ ”) and should contain a file extension “.lim”. Note that the trace specified by <filename> should be available at the current mass storage location. Use the command MMEMory:MSIS to set the current mass storage location. File Extension: “.lim
Syntax:
:MMEMory:LOAD:LIMit <filename>
Cmd Parameter
<filename>
Query Response
NA (no query)
Example
To recall trace with file name “limit”
:MMEMory:LOAD:LIMit “limit.lim”
Related Command
:MMEMory:STORe:LIMit
Front Panel Access
Shift‑7 (File), Recall
 
Recall Setup
:MMEMory:LOAD:STATe
Description
Recalls a previously stored instrument setup in the current storage location. The setup file to be loaded is specified by <filename>. <filename> should be enclosed in either single quotes (‘ ’) or double quotes (“ ”) and should contain a file extension “.stp”. Use the command MMEMory:MSIS to set the current storage location. The <integer> parameter is not currently used, but it must be sent. Send a 1.
Note 
When recalling setups for modes other than the current mode, Anritsu recommends that you first change modes, then recall the setup.
Use :INSTrument:NSELect or :INSTrument[:SELect] to change the instrument state, then use :MMEMory:LOAD:STATe to recall the setup.
Syntax:
:MMEMory:LOAD:STATe <integer>,<filename>
Cmd Parameter
<integer>,<filename>
Query Response
NA (no query)
Related Command
:MMEMory:STORe:STATe
:MMEMory:MSIS INTernal|USB
Front Panel Access
Shift‑7 (File), Recall
Recall Measurement
:MMEMory:LOAD:TRACe
Description
The instrument must be in the mode of the saved trace in order to recall that trace. Use :INSTrument:SELect or :INSTrument:NSELect to set the mode. Recalls a previously stored measurement trace from the current storage location. The saved measurement trace to be loaded is specified by <filename>. <filename> should be enclosed in either single quotes (‘ ’) or double quotes (“ ”) and should contain a file extension. Note that the trace specified by <filename> should be available at the current mass storage location. Use the command MMEMory:MSIS to set the current mass storage location. The <integer> parameter is not currently used, but it must be sent. Send a 1.
File name extensions:
.spa” for SPA
.vna” for Cable & Antenna
.cdma” for CDMA
.tds” for TDSCDMA
.evdo” for EVDO
.ia” for Interference Analysis
.cs” for Channel Scanner
.pm” for Power Meter
.tm” for Transmission Measurement
“.dmr2” for DMR 2 Analyzer measurements
“.p25” for P25 Analyzer measurements
“.nxdn” for NXDN Analyzer measurements
“.afp” for AMFMPM Analyzer measurements
Note: Extensions not available for T1 and Hi_PM.
Syntax:
:MMEMory:LOAD:TRACe <integer>,<filename>
Cmd Parameter
xx <integer>,<filename>
Query Response
NA (no query)
Example
To recall trace with file name “trace”:
:MMEMory:LOAD:TRACe 1,”trace.spa”
Related Command
:MMEMory:STORe:TRACe
:MMEMory:MSIS INTernal|USB
Front Panel Access
Shift‑7 (File), Recall Measurement
 
Save Limit
:MMEMory:STORe:LIMit
Description
Stores the current limit setup into the file specified by <filename>. <filename> should be enclosed in either single quotes (‘ ’) or double quotes (“ ”) and should not contain a file extension. Use the command MMEMory:MSIS to set the current storage location.
Syntax:
:MMEMory:STORe:LIMit <filename>
Cmd Parameter
<filename>
Query Response
NA (no query)
Related Command
:MMEMory:MSIS INTernal|USB
Front Panel Access
Shift‑7 (File), Save
 
Save Setup
:MMEMory:STORe:STATe
Description
Stores the current setup into the file specified by <filename>. <filename> should be enclosed in either single quotes (‘ ’) or double quotes (“ ”) and should not contain a file extension. Use the command MMEMory:MSIS to set the current storage location. The <integer> parameter is not currently used, but it must be sent. Send a value of 0.
Syntax:
:MMEMory:STORe:STATe <integer>,<filename>
Cmd Parameter
<integer>,<filename>
Query Response
NA (no query)
Related Command
:MMEMory:LOAD:STATe
:MMEMory:MSIS INTernal|USB
Front Panel Access
Shift‑7 (File)
 
Save Measurement
:MMEMory:STORe:TRACe
Description
Stores the trace into the file specified by <filename>. <filename> should be enclosed in either single quotes (‘ ’) or double quotes (“ ”) and should not contain a file extension. Use the command MMEMory:MSIS to set the current storage location. Note that existing files of the same name will not be overwritten. The <integer> parameter is not currently used, but it must be sent. Send a 0.
Syntax:
:MMEMory:STORe:TRACe <integer>,<filename>
Cmd Parameter
<integer>,<filename>
Query Response
NA (no query)
Example
To save the trace into the file name “trace”:
:MMEMory:STORe:TRACe 0,”trace”
Related Command
:MMEMory:LOAD:TRACe
:MMEMory:MSIS INTernal|USB
Front Panel Access
Shift‑7 (File), Save
Shift‑7 (File), Save Measurement