BTS Master™MT8221B, MT8222B : All Mode Commands : :MMEMory Subsystem
  
:MMEMory Subsystem
The Mass MEMory subsystem contains functions that provide access to the instrument’s setup and data storage.
:MMEMory:DATA <file name>
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 looks like #AX, where A is the number of digits in X and X is the number of bytes in <block>. <file name> should be enclosed in either single quotes (‘ ’) or double quotes (“ ”) and should contain a file extension (.stp, .jpg) and the file must not be larger than 262136 bytes. Use the command MMEMory:MSIS to set the current storage location.
Parameter
<file name>
:MMEMory:DELete <file name>
Title
Delete Setup/Measurement
Description
Removes the measurement or setup file specified by <file name> from the current mass storage device. <file name> should be enclosed in either single quotes (‘ ’) or double quotes (“ ”). It should contain one of the following file extensions:
“.stp” for setup
“.edg” for GSM measurements
“.spa” for SPA measurement
“.wcd” for WCDMA measurements
“.wmxd” for WiMAX
“.wmxe” for Mobile WiMAX measurements
“.vna” for Cable & Antenna measurements
“.cdma” for CDMA measurements
“.tds” for TDSCDMA measurements
“.evdo” for EVDO measurements
“.ia” for Interference Analysis measurements
“.cs” for Channel Scanner measurements
“.lte” for LTE Analyzer measurements
“.tdlte” for TD-LTE Analyzer measurements
Use the command MMEMory:MSIS to set the current mass storage location.
Parameter
<file name>
Related Command
:MMEMory:STORE:STATe
:MMEMory:STORe:TRACe
:MMEMory:MSIS INTernal|USB
Front Panel Access
Shift-7 (File), Delete, Delete Selected File
:MMEMory:INITialize [USB]
Title
Format Storage Device
Description
Formats the USB Flash drive. Issuing this command will erase all files on an installed USB Flash drive and create the /usr directory for storage of measurements, setups and jpg files.
Parameter
[USB]
Parameter Type
<char>
Front Panel Access
Shift-7 (File), Directory Management, Format USB
:MMEMory:LOAD:STATe <integer>,<file name>
Title
Recall Setup
Description
Recalls a previously stored instrument setup in the current storage location. The setup file to be loaded is specified by <file name>. <file name> 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.
Parameter
<integer>, <file name>
Related Command
:MMEMory:STORe:STATe
:MMEMory:MSIS INTernal|USB
Front Panel Access
Shift-7 (File), Recall, Recall Setup
:MMEMory:LOAD:TRACe <integer>,<file name>
Title
Recall Measurement
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 <file name>. <file name> should be enclosed in either single quotes (‘ ’) or double quotes (“ ”) and should contain a file extension. Note that the trace specified by <file name> 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.
In some modes, the recall of the traces using the front panel allows a user to retain or discard the instrument setup that was saved along with the measurement. This choice is not supported using a SCPI command. :MMEMory:LOAD:STATe is the recommended method to restore a saved instrument setup.
File name extensions:
“.edg” for GSM
“.spa” for SPA
“.wcd” for WCDMA
“.wmxd” for WiMAX
“.wmxe” for Mobile WiMAX
“.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
“.lte” for LTE Analyzer
“.tdlte” for TD-LTE Analyzer
Parameter
<integer>, <file name>
Example
To recall trace with file name “trace”:
:MMEMory:LOAD:TRACe 1,”trace.spa”
Related Command
:MMEMory:STORe:TRACe
:MMEMory:STORe:TRACe
:MMEMory:MSIS INTernal|USB
Front Panel Access
Shift-7 (File), Recall, Recall Measurement
:MMEMory:MSIS INTernal|USB
:MMEMory:MSIS?
Title
Storage Location
Description
Sets the storage location. Setting the storage location to INTernal will set the current storage location to be the internal memory. Setting the storage location to USB will set the current storage location to be the USB Flash drive. Note that changing the current location to save files causes the “Copy to Destination” on the front panel to be automatically changed if the selected current location is the same as the destination. When the change occurs, the instrument will cycle through each of the available storage locations. For example, if “Copy to Destination” is on USB and the “Current Location” is changed to USB, “Copy to Destination” will cycle to INTernal. Note that the storage location must be available in order for it to be set.
Parameter
INTernal|USB
Parameter Type
<char>
Related Command
:MMEMory:MSIS:DESTination
Front Panel Access
Shift-7 (File), Directory Management, Current Location
:MMEMory:MSIS:COPY
Title
Copy From Current Location To Destination
Description
Copies all measurements, setups and jpg files stored in the current storage location to the “copy to destination” location.
Related Command
:MMEMory:MSIS
:MMEMory:MSIS:DESTination
Front Panel Access
Shift-7 (File), Directory Management, Copy From Current Location To Destination
:MMEMory:MSIS:DESTination INTernal|USB
:MMEMory:MSIS:DESTination?
Title
Copy to Destination
Description
Sets the destination to where measurements and setups in the current storage location are copied. Setting the location to INTernal will result in copying the files that are stored at the current storage location to the internal memory when the command :MMEMory:MSIS:COPY is sent. Setting the location to USB will result in copying the files that are stored at the current storage location to the USB Flash drive when the command :MMEMory:MSIS:COPY is sent. Setting the location to USB will result in copying the files that are stored at the current storage location to the USB Flash drive when the command :MMEMory:MSIS:COPY is sent. Note that changing the destination to which the instrument will copy files, will automatically changed the “Current Location” on the front panel if the current location is the same as the selected copy to destination.
Parameter
INTernal|USB
Parameter Type
<char>
Related Command
:MMEMory:MSIS
:MMEMory:MSIS:COPY
Front Panel Access
Shift-7 (File), Directory Management, Copy To Destination
:MMEMory:STORe:JPEG <file name>
Title
Save Screen as JPEG
Description
Saves the current screen measurement as a jpeg file. This will save the screen as a jpeg file specified by <file name> with the extension .jpg to the current storage location. <file name> 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.
Parameter
<file name>
Example
To save the screen into the file name “trace”:
:MMEMory:STORe:JPEG “trace”
Related Command
:MMEMory:DATA?
:MMEMory:MSIS INTernal|USB
Front Panel Access
Shift-7 (File), Save, Save Screen as JPEG
:MMEMory:STORe:STATe <integer>,<file name>
Title
Save Setup
Description
Stores the current setup into the file specified by <file name>. <file name> 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.
Parameter
<integer>, <file name>
Related Command
:MMEMory:LOAD:STATe
:MMEMory:MSIS INTernal|USB
Front Panel Access
Shift-7 (File), Save, Save Setup
:MMEMory:STORe:TRACe <integer>,<file name>
Title
Save Measurement
Description
Stores the trace into the file specified by <file name>. <file name> 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 0.
Parameter
<integer>, <file name>
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, Save Measurement