VectorStar™ MS464xB Series Microwave Vector Network Analyzer Programming Manual : SCPI Commands : :MMEMory Subsystem
 
:MMEMory Subsystem
The :MMEMory subsystem commands are used to input, load, and read out instrument data files. <string> formatted data is generally used to represent file directories and file names.
I/O Configuration and File Operation Subsystems
Related subsystems for I/O configuration and file operation are:
:CALCulate{1-16}:FORMat Subsystem – SnP Data
:CALCulate{1-16}:NXN Subsystem
:CALCulate{1-16}[:SELected]:DATA Subsystem
:CALCulate{1-16}[:SELected]:TDATA Subsystem
:FORMat Subsystem
:HCOPy Subsystem
:MMEMory Subsystem
 
:MMEMory:CATalog? {<string>}
Description
Query only.
Returns the directory information of the storage device. If the directory does not exist, it results in an execution error.
Query Parameters
<string> Path specification in the form: 'x:\directory', where x: must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default Value
NA
Syntax Example
:MMEM:CAT? 'C:\directory'
:MMEMory:COPY <string1>, <string2>
Description
Copies the contents of the first <string1> file to the second <string2> file.
No query.
The directory and file for <string1> must exist. If the directory and file for <string2> do not exist, they will be created. If the directory and file for <string2> already exist, they will be overwritten.
Cmd Parameters
<string1> Filename and path in the form: 'x:\directory\filename.xxx', where
x:\directory\filename.xxx must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
<string2> Filename and path in the form: 'x:\directory\filename.xxx'
Range
NA
Default Value
NA
Syntax Example
:MMEM:COPY 'C:\filename1.s2p', 'C:\filename2.s2p'
:MMEMory:DELete <string>
Description
Deletes a disk, file, or directory. Use caution with this command as there is no recovery operation in case of a user mistake or error.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.xxx' or
'x:\directory', where x:\directory\filename.xxx or x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default Value
NA
Syntax Example
:MMEM:DEL 'C:\directory\filename.s2p'
:MMEMory:LOAD <string>
Description
Loads data file whose type is specified by the filename extension into the instrument memory. The directory and file in <string> must exist.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.xxx', where
x:\directory\filename.xxx must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.and Table: Supported File Types for a list of supported file types.
Range
NA
Default Value
NA
Syntax Example
:MMEM:LOAD 'C:\filename.s2p'
:MMEMory:LOAD:CKIT <string>
Description
Loads a calibration kit file or multiple files from the given file specification into the instrument memory. The :MMEMory:LOAD:CKIT command supports loading XML files with a .ccf extension or binary files in Lightning format.
No query.
Cmd Parameters
<string> Filename and path where the required format changes depending on the file type being loaded.
If a .ccf file type is used, the required form is: 'x:\directory\filename.ccf', where
x:\directory\filename.ccf must exist.
If a .lst file type is used, the required form is: 'x:\directory\filename.lst, where
x:\directory\filename.lst must exist as well as the associated cal kit files.
If a binary Lightning file type is used, only the path is required in the form
'x:\directory', where x:\directory and cal kit files must exist.
See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default Value
NA
Syntax Example
For calibration kit or other .ccf or .lst files:
:MMEM:LOAD:CKIT 'E:\calibrationfoldermykit.ccf'
:MMEM:LOAD:CKIT 'E:\calibrationfoldermykit.lst'
For binary files:
:MMEM:LOAD:CKIT 'E:\calibrationbinaries'
:MMEMory:LOAD:FLAT <string>
Description
Loads the flat test port power flatness coefficients to the active channel in the form of an .fpc file.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.fpc', where
x:\directory\filename.fpc must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information and Table: Supported File Types for a list of supported file types.
Range
NA
Default Value
NA
Syntax Example
:MMEM:LOAD:FLAT 'C:\pwrflt.fpc'
:MMEMory:LOAD:FSEGMent <string>
Description
Loads the frequency-based segmented sweep table from the given filespec to the active channel.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.sgs' where
x:\directory\filename.sgs must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default Value
NA
Syntax Example
:MMEM:LOAD:FSEGM 'C:\directory\filename.sgs'
:MMEMory:LOAD:ISEGMent <string>
Description
Loads the index-based segmented sweep table from the given file specification to the active channel.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.sgs', where
x:\directory\filename.sgs must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default Value
NA
Syntax Example
:MMEM:LOAD:ISEGM 'C:\directory\filename.sgs'
:MMEMory:LOAD:LIMit <string>
Description
Loads a Limit Table from the file system to the active channel.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.lmt', where
x:\directory\filename.lmt must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default Value
NA
Syntax Example
:MMEM:LOAD:LIM 'C:\limits3.lmt'
:MMEMory:LOAD:LINearity <string>
Description
Loads the power sweep linearity coefficients to the active channel.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.ppc', where
x:\directory\filename.ppc must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default Value
NA
Syntax Example
:MMEM:LOAD:LIN 'C:\linch3.ppc'
:MMEMory:LOAD:MDATA <string>
Description
Loads formatted or unformatted trace data from a file into the trace memory of the active trace on the active channel.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.tdf' or
'x:\directory\filename.tdu', where x:\directory\filename.tdf or
x:\directory\filename.tdu must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default Value
NA
Syntax Example
:MMEM:LOAD:MDATA 'C:\directory\filename.tdu'
:MMEMory:MDIRectory <string>
Description
Create a new disk directory.
No query.
Cmd Parameters
<string> Path specification in the form: 'x:\directory', where x: must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default Value
NA
Syntax Example
:MMEM:MDIR 'C:\directory'
:MMEMory:RDIRectory <string>
Description
Delete a disk directory.
No query.
Cmd Parameters
<string> Path specification in the form: 'x:\directory', where x:\ and \directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default Value
NA
Syntax Example
:MMEM:RDIR 'C:\directory'
:MMEMory:STORe <string>
Description
Stores a data file of the type specified by the filename extension.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.xxx', where
x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information and Table: Supported File Types for a list of supported file types.
Range
NA
Default Value
NA
Syntax Example
:MMEM:STOR 'C:\filename.acd'
:MMEMory:STORe:FLAT{1-7} <string>
Description
Saves the flat test port power flatness coefficients for the indicated port and the active channel.
No query.
For port definitions, see Table: Port Number Definitions.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.fpc', where
x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information and Table: Supported File Types for a list of supported file types.
Range
NA
Default Value
NA
Syntax Example
:MMEM:STOR:FLAT1 'C:\filename.fpc'
 
Port Number Definitions  
Port Number
Definition
1
Port1 (2- and 4-port system)
2
Port2 (2- and 4-port system)
3
Src2 out Port1 (2- port system with option 32), (or Port3 on a 4-port system)
4
Port4 (4-port system)
5
Src2 out Port1 (4-port system)
6
Src2 out Port2 (4-port system)
7
Src1 driving Aux Mod (ME7838x System)
:MMEMory:STORe:FSEGMent <string>
Description
Stores the frequency-based segmented sweep table of the active channel to the given filespec.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.sgs', where
x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default Value
NA
Syntax Example
:MMEM:STOR:FSEGM 'C:\directory\filename.sgs'
:MMEMory:STORe:IMAGe <string>
Description
Save the display image to a disk file (PNG or BMP format).
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.bmp', where
x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default Value
NA
Syntax Example
:MMEM:STOR:IMAG 'C:\directory\filename.bmp'
:MMEMory:STORe:ISEGMent <string>
Description
Stores the index-based segmented sweep table of the active channel to the given filespec.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.sgs', where
x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default Value
NA
Syntax Example
:MMEM:STOR:ISEGM 'C:\directory\filename.sgs'
:MMEMory:STORe:LIMit <string>
Description
Stores the limit table of the active channel to the hard disk.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.lmt', where
x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default Value
NA
Syntax Example
:MMEM:STOR:LIM 'C:\directory\filename.lmt'
:MMEMory:STORe:LINearity{1-6} <string>
Description
Saves the power sweep linearity coefficients for the indicated port and the active channel. For port definitions, see Table: Port Number Definitions.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.ppc', where
x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information and Table: Supported File Types for a list of supported file types.
Range
NA
Default Value
NA
Syntax Example
:MMEM:STOR:LIN1 'C:\directory\filename.ppc'
:MMEMory:STORe:MDATA <string>
Description
Save formatted or unformatted trace memory data to the hard disk from the active trace on the active channel.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.tdf' or
'x:\directory\filename.tdu', where x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default Value
NA
Syntax Example
:MMEM:STOR:MDATA 'C:\directory\filename.tdu'
:MMEMory:STORe:MP41 <string>
Description
Store M4P data file using a one Differential pair with two Singleton mixed mode model.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.m4p', where
x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default
NA
Syntax Example
:MMEM:STOR:MP41 'C:AnritsuVNAmym4pfile.m4p'
:MMEMory:STORe:MP42 <string>
Description
Store M4P data file using the two Differential Pairs and zero Singleton mixed mode model.
No query.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.m4p', where
x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Range
NA
Default
NA
Syntax Example
:MMEM:STOR:MP42 'C:AnritsuVNAmym4pfile.m4p'
:MMEMory:TRANsfer <string>, <block>
:MMEMory:TRANsfer? <string>
Description
Writes GPIB data to a disk file.
Returns the disk file data to the GPIB. The file must exist.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.xxx', where
x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
<block> Binary data block must exist.
Query Parameters
<string> The filename and path in the form: 'x:\directory\filename.xxx', where x:\directory\filename.xxx must exist.
See definition of <string> and <block> or <arbitrary block>.
Range
NA
Default Value
NA
Syntax Example
:MMEM:TRAN 'C:\directory\filename.cal', <block>
:MMEM:TRAN? 'C:\directory\filename.cal'
:MMEMory:WRITE:CKIT <char1>, <char2>, <char3>, <string>
Description
This command is used to write cal kits for particular connectors and waveguide sizes.
Writes a calibration kit file from current setup. All three <char> parameters must be specified. The <string> parameter defines either the directory and file name or only the file name subject to the limitations described below.
No query.
Required Parameters
Three (3) identifying characteristics must be provided as Line Type, Cal Type, and one of three Connector Types (Coaxial, Waveguide, User Defined). Each parameter characteristic is defined below:
Line Type = <char1> = COAXial | NONDispersive | WAVEguide. Note that Microstrip is not an available option.
Cal Method = <char2> = SOLX | SSLT | SSST | BBCal
Connector/Waveguide Type = <char3> = Coaxial type connectors, waveguide types, or user defined connectors and waveguide as listed below.
Coaxial Connector Types = <char3> = CID2-V | CID2 | CID3 | CIDK | CIDN75 | CIDN | CIDS | CIDT | CIDT | CIDV | SID1 | CID0.8 | CID716 | CIDG
Waveguide Types = <char3> = CIDWR10 | CIDWR12 | CIDWR15
User Defined Connectors and Waveguides = <char3> = CIDU1 | CIDU2 | CIDU3 | CIDU4 | CIDU5 | CIDU6 | CIDU7 | CIDU8 to CIDU32
For SOLR and SOLT calibration methods, use the SOLX parameter.
If the line type is coaxial and the calibration method is SSLT or SSST, the connector type must be CID1.
For waveguide line types, the calibration method must be SSLT or SSST.
See Calibration Component Parameters for a complete listing of calibration components, connectors, and their parameters.
Parameter Definitions for <char1>
<char> COAXial | NONDISpersive | WAVEguide
Parameter Definitions for <char2>
<char2> SOLX | SSLT | SSST | BBCal where:
SOLX = Short-Open-Load-Reciprocal or Short-Open-Load-Through calibration
SSLT = Short-Short-Load-Through
SSST = Short-Short-Short-Through
BBCal = Broadband Cal: Merged Short-Open-Load-Through/Reciprocal (SOLT/R) and Short-Short-Short-Through/Reciprocal (SSST/R)
Note that the type depends on where the breakpoint is set. Sometimes it could be just SOLX, SSST or a merge of both.
Parameter Definitions for <char3>
<char3> CID1 | CIDV | CIDK | CID2 | CID2-V | CID3 | CIDS | CIDN | CIDN75 | CIDG | CID716 | CIDT | CID0.8 | CIDWR10 | CIDWR12 | CIDWR15 | CIDU1 | CIDU2 | CIDU3 | CIDU4 | CIDU5 | CIDU6 | CIDU7 | CIDU8 | CIDU9 | CIDU10 | CIDU11 | CIDU12 | CIDU13 | CIDU14 | CIDU15 | CIDU16 | CIDU17 | CIDU18 | CIDU19 | CIDU20 | CIDU21 | CIDU22 | CIDU23 | CIDU24 | CIDU25 | CIDU26 | CIDU27 | CIDU28 | CIDU29 | CIDU30 | CIDU31 | CIDU32, where:
CID1 = 1 mm
CIDU10 = User defined 10
CIDV = V
CIDU11 = User defined 11
CIDK = K
CIDU12 = User defined 12
CID2 = 2.4 mm
CIDU13 = User defined 13
CID2-V = Anritsu 2.4 mm
CIDU14 = User defined 14
CID3 = GPC-3.5
CIDU15 = User defined 15
CIDS = SMA
CIDU16 = User defined 16
CIDN = N
CIDU17 = User defined 17
CIDN75 = N-connector, 75 Ohm
CIDU18 = User defined 18
CIDG = GPC-7
CIDU19 = User defined 19
CID716 = 7/16 inch
CIDU20 = User defined 20
CIDT = TNC
CIDU21 = User defined 21
CID0.8 = 0.8 mm
CIDU22 = User defined 22
CIDWR10 = WR-10 Waveguide
CIDU23 = User defined 23
CIDWR12 = WR-12 Waveguide
CIDU24 = User defined 24
CIDWR15 = WR-15 Waveguide
CIDU25 = User defined 25
CIDU1 = User defined 11
CIDU26 = User defined 26
CIDU2 = User defined 2
CIDU27 = User defined 27
CIDU3 = User defined 3
CIDU28 = User defined 28
CIDU4 = User defined 4
CIDU29 = User defined 29
CIDU6 = User defined 5
CIDU30 = User defined 30
CIDU7 = User defined 7
CIDU31 = User defined 31
CIDU8 = User defined 8
CIDU32 = User defined 32
CIDU9 = User defined 9
 

1  Note that a user-defined CIDU1 connector can be assigned a user-defined name, but programmatically, it must be referred to as “CIDU1”. This also applies to CIDU2 through CIDU32.

Parameter Definitions for <string>
User-provided variations in the <string> parameter command suffix and existing O/S conditions change the way the command will operate.
Best practices recommend stating a file name and path in the form
'x:\directory\filename.xxx' where 'x:\directory\' already exists.
If the directory and file name in <string> already exist, the command will overwrite them without comment.
If the directory portion of the <string> is missing such as 'x:\filename.xxx', the named file is placed in the current O/S defined default directory.
If the command uses a <string> in the path and file name form such as
'x:\directory\filename.xxx' and 'x:\directory\' does not exist, an error is generated and no file is written.
See definition of <string>.
Cmd Parameters
<char1> COAXial | NONDISpersive | WAVEguide
<char2> SOLX | SSLT | SSST | BBCal
<char3> CID1 | CIDV | CIDK | CID2 | CID2-V | CID3 | CIDS | CIDN | CIDN75 | CIDG | CID716 | CIDT | CID0.8 | CIDWR10 | CIDWR12 | CIDWR15 | CIDU1 | CIDU2 | CIDU3 | CIDU4 | CIDU5 | CIDU6 | CIDU7 | CIDU8 | CIDU9 | CIDU10 | CIDU11 | CIDU12 | CIDU13 | CIDU14 | CIDU15 | CIDU16 | CIDU17 | CIDU18 | CIDU19 | CIDU20 | CIDU21 | CIDU22 | CIDU23 | CIDU24 | CIDU25 | CIDU26 | CIDU27 | CIDU28 | CIDU29 | CIDU30 | CIDU31 | CIDU32, where:
<string> Path and filename in the form 'x:\directory\filename.xxx' or
'x:\filename.xxx'. If the 'x:\directory\' form is used, the directory must exist. See <string> parameter definitions above and Programming the VectorStar Series VNA, Notational Conventions for more information.
Query Parameters
NA
Range
NA
Default Value
NA
Syntax Example
:MMEM:WRITE:CKIT COAX, SOLX, CIDV, 'C:\directory\calfilename.ccf'