MMEMory...    Related Topics

The MMEMory system provides mass storage capabilities for the analyzer.  

Internal and external mass storage

The mass storage of the analyzer may be internal or external. The internal mass storage device can be any section of the internal hard disk (mapped to drive C:\). The external mass storage device can be a USB memory stick connected to one of the USB ports (mapped to any free drive letter) or a network connection.

File and directory names

The <file_name> and <directory_name> parameters are strings. Some commands use a fixed directory; for others the <file_name> can contain the complete path including the drive name and all subdirectories, e.g. 'C:\TEMP\TRASH\test.txt' for the file named test.txt in the TEMP\TRASH subdirectory of the internal hard disk drive C:\. If no complete path is specified, the file location is relative to the current directory (queried with MMEMory:CDIRectory?). The file name itself may contain the period as a separator for extensions.

File and directory names can be chosen according to Windows™ conventions; the restrictions placed on file names known from DOS systems do not apply. All letters and numbers are allowed, as well as the special characters "_", "^", "$", "~", "!", "#", "%", "&", "-", "{", "}", "(", ")", "@" and "`". Reserved file names are CON, AUX, COM1, ..., COM4, LPT1, ..., LPT3, NUL and PRN.

The use of wildcards ? and * is not allowed.  

 

Command tree: MMEMory

:AKAL

:FACTory

:CONVersion

:USER

:CONVersion

:CATalog?

:ALL?

:CDIRectory

:COPY

:DATA

:DELete

:CORRection

:LOAD

:CKIT

:SDATa

:UDIRectory

:CMAP

:CORRection

:MERGe

:RESolve

:LIMit

:MDAData

:MDCData

:PTRain

:RIPPle

:SEGMent

:STATe

:TRACe

:VNETworks<Ch>

:BALanced

:DEEMbedding<Log_pt>

:EMBedding<Log_pt>

:GLOop

:DEEMbedding<Log_pt>

:EMBedding<Log_pt>

:SENDed

:DEEMbedding<Ph_pt>

:EMBedding<Ph_pt>

:MDIRectory

:MOVE

:NAME

:RDIRectory

:STORe

:CKIT

:CMAP

:CORRection

:LIMit

:MARKer

:MDCData

:PTRain

:RIPPle

:STATe

:TRACe

:CHANnel

:PORTs


MMEMory:AKAL:FACTory:CONVersion '<directory_name>'

Converts the factory calibration data of the standards in the active calibration unit (SYSTem:COMMunicate:RDEVice:AKAL:ADDRess) to Touchstone format and copies it to the specified directory.

'<directory_name>'

String parameter to specify the directory.

*RST value

 

SCPI, Command Types

Device-specific, command or query (returns the current directory).

 

Example:

MMEM:AKAL:FACT:CONV 'C:\AKAL\Touchstone'

Convert and copy the factory calibration data of the active calibration unit to the specified directory.

 

 


MMEMory:AKAL:USER:CONVersion '<directory_name>'[,'<file_name>']

Converts an arbitrary (e.g. user-defined) set of calibration data of the standards in the active calibration unit (SYSTem:COMMunicate:RDEVice:AKAL:ADDRess) to Touchstone format and copies it to the specified directory.

'<directory_name>'

String parameter to specify the directory.

*RST value

 

'<file_name>'

Name and (possibly) directory of the cal kit file to be used for the automatic calibration (optional string parameter):

  • If the parameter is omitted, the analyzer uses the last characterized cal kit file.

  • If an empty string (' ') is specified, the factory cal kit file stored in the active calibration unit (SYSTem:COMMunicate:RDEVice:AKAL:ADDRess) is used. By default this file is also used in manual control.

  • A NWA cal kit file name *.calkit without path denotes a specific cal kit file stored in the active calibration unit.

  • A NWA cal kit file name *.calkit with path denotes a specific cal kit file stored in an arbitrary directory.

 

SCPI, Command Types

Device-specific, command or query (returns the current directory).

 

Example:

MMEM:AKAL:USER:CONV 'C:\AKAL\Touchstone'

Convert and copy the calibration data of the standards of the last characterized cal kit to the specified directory.

 MMEM:AKAL:USER:CONV 'C:\AKAL\Touchstone', 'user.calkit'

Convert and copy the calibration data of the standards of the user-defined cal kit 'user.calkit' to the specified directory.  

 

 


MMEMory:CATalog? [<directory_name>]

Returns the contents of the current or of a specified directory.

Use MMEMory:CATalog:ALL? to query the contents of the current directory and all subdirectories.

'<directory_name>'

String parameter to specify the directory. If the directory is omitted, the command queries the contents of the current directory, to be queried  with MMEMory:CDIRectory?

 

Response

Directory information in the following format:

<used_size>,<free_disk_space> {,<file_name>,,<file_size>}

 

The first two numeric parameters denote the total amount of storage currently used in the directory and the total amount of storage available, both expressed in bytes. All files are returned with their file name and their size in bytes.

*RST value

 

SCPI, Command Types

Confirmed, query only.

 

Example:

MMEM:CAT?
Response:
 2056878, 809734144, zvb_quickstart.pdf, , 2056878,

 

 


MMEMory:CATalog:ALL? [<directory_name>]

Returns the contents of the current or of a specified directory and all subdirectories.

Use MMEMory:CATalog? to query the contents of the current directory.

'<directory_name>'

String parameter to specify the directory. If the directory is omitted, the command queries the contents of the current directory, to be queried  with MMEMory:CDIRectory?

 

Response

Directory information in the following format:

Directory of <Dir_name>, <used_size>, <free_disk_space> {, <Subdir>, <DIR>,}{,<file_name>,,<file_size>},
Directory of <Subdir_name_1>, <used_size>,<free_disk_space> {, <Subdir>, <DIR>,}{,<file_name>,,<file_size>},
Directory of <Subdir_name_2>, <used_size>,<free_disk_space> ...

 

The first line is omitted if the current directory contains no subdirectories. The following lines are analogous to the output of MMEMory:CATalog?.

*RST value

 

SCPI, Command Types

Confirmed, query only.

 

Example:

MMEM:CAT:ALL?

Response:  Directory of C:\Rohde&Schwarz\Nwa\DOC\, 2056878, 809734144, zvb_quickstart.pdf, , 2056878,

 

 


MMEMory:CDIRectory '<directory_name>' | DEFault

Changes the default directory for mass memory storage.

'<directory_name>'

String parameter to specify the directory. If DEFault is used, the analyzer selects the default directory 'C:\Rohde&Schwarz\Nwa'.

*RST value

– (A *RST does not change the current directory)

 

SCPI, Command Types

Confirmed, command or query (without parameter, returns the current directory).

 

Example:

MMEM:CDIR 'C:\Documents and Settings\NetworkService\Application Data'

Change to the specified directory.

See also condensed program example Path Independent RC Programs.

 

 


MMEMory:COPY '<file_source>','<file_destination>'

Copies an existing file to a new file.

'<file_source>', '<file_destination>'

String parameters to specify the name of the file to be copied and the name of the new file.

*RST value

 

SCPI, Command Types

Confirmed, no query.

 

Example:

MMEM:COPY 'C:\USER\DATA\SETUP.zvx','A:'

Copy file Setup.zvx in directory C:\USER\DATA to the external storage medium, mapped to drive A:\.

 

 


MMEMory:DATA '<file_name>', <data>

Loads <data> into the file <file_name>.

'<file_name>'

String parameter to specify the name of the file.

 

<data>

Data in 488.2 block data format. The delimiter EOI must be selected to achieve correct data transfer.

*RST value

 

SCPI, Command Types

Confirmed, with query. The query form is MMEMory:DATA? <file_name> with the response being the associated <data> in block format.

 

Example:

MMEM:DATA? 'C:\TEMP\TEST01.HCP'

Query the block data contained in file TEST01.HCP.

 

 


MMEMory:DELete '<file_name>'

Removes a file from the specified directory.

'<file_name>'

String parameter to specify the name and directory of the file to be removed.  If the path is omitted, the current directory is used (see MMEMory:CDIRectory).

 

*RST value

 

SCPI, Command Types

Confirmed, no query.  

 

Example:

MMEM:DEL 'C:\TEMP\TEST01.HCP'

Remove TEST01.HCP from the directory C:\TEMP.

 

 


MMEMory:DELete:CORRection <file_name>'

Deletes a system error correction data set stored in the cal pool (cal group file).  

'<file_name>'

String parameter to specify the name of the cal group file to be deleted. Cal group files must have the extension *.cal. The directory path must not be specified; the analyzer always uses the default cal pool directory C:\Rohde&Schwarz\NWA\Calibration\Data.

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

See  MMEMory:LOAD:CORRection

 

 


MMEMory:LOAD:CKIT '<file_name>'

Loads cal kit data from a specified NWA cal kit file.

'<file_name>'

String parameter to specify the name and directory of the cal kit file to be loaded. If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.  

Note: The loaded file must be a NWA-specific cal kit file with the extension *.calkit. ZVR cal kit files can be imported using the [SENSe<Ch>:]CORRection:CKIT:INSTall command. Agilent cal kit files can be imported manually and converted into *.calkit files.  

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

MMEM:LOAD:CKIT 'C:\Rohde&Schwarz\NWA\Calibration\Kits\New_kit.calkit'

Load the previously created cal kit file New_kit.calkit from the default cal kit directory.

... :MMEM:STOR:CKIT 'New_kit', 'C:\Rohde&Schwarz\NWA\Calibration\Kits\New_kit.calkit'

Store the data for the user-defined cal kit Newkit and overwrite the cal kit file New_kit.calkit.

 

 


MMEMory:LOAD:CKIT:SDATa
'<conn_name>', '<ckit_name>', MMTHrough | MFTHrough | FFTHrough | MMLine | MMLINE1 | MMLINE2 | MMLINE3 | MFLine | MFLINE1 | MFLINE2 | MFLINE3 | FFLine | FFLINE1 | FFLINE2 | FFLINE3 | MMATten | MFATten | FFATten | MMSNetwork | MFSNetwork | FFSNetwork | MOPen | FOPen | MSHort | FSHort | MOSHort | MOSHORT1 | MOSHORT2 | MOSHORT3 | FOSHort | FOSHORT1 | FOSHORT2 | FOSHORT3 | MREFlect | FREFlect | MMTCh | FMTCh | MSMatch | FSMatch, '<stdlabel_name>', '<file_name>' [,<port1_no>][,<port2_no>]

Loads cal kit data for a specific connector type, cal kit, and calibration standard from a specified Touchstone file, assigning a label for the cal data. A restriction on the port assignment may be defined in addition.

'<conn_name>'

String parameters containing the name of the connector type.

 

'<ckit_name>'

String parameters containing the name of a calibration kit available on the analyzer.

 

Parameters

Standard type; for a description refer to the table of standard types.

 

'<stdlabel_name>'

String parameter defining a label for the cal kit data. An empty string means that no label is defined.

 

'<file_name>'

String parameter to specify the name and directory of the Touchstone file to be loaded. A *.s1p file must be used for one-port standards, a *.s2p file for two-port standards. If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.  

 

<port1_no>, <port2_no>

Port assignment: One port number for one-port standards, two port number for two-port standards. If the port numbers are omitted, the cal kit data is valid for all ports.

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

MMEM:LOAD:CKIT:SDAT 'N 50 Ohm','Default Kit',MOPEN,'Test data','test.s1p',1

Load the file Test.s1p from the current directory in order to define the properties of an Open (m) standard in the cal kit named Default Kit for the N 50 Ω connector type. Assign the label Test data and specify that the data standard data is only valid for port no. 1.  

 

 

Connector and cal kit naming conventions

Connector and calibration kit names must be entered as string parameters. The strings contain the connector and cal kit names used in the Calibration Kits dialog; a Ω in the name must be replaced by 'Ohm', e.g.:


MMEMory:LOAD:CKIT:UDIRectory '<directory>'

Specifies the Directory for Additionally Available Cal Kits and Conn Types. All cal kit files in the special directory will be (re-)loaded automatically as predefined kits (i.e. read-only kits which cannot be modified) every time the NWA application is started.

'<directory>'

String parameter to specify the directory path. The directory can be created separately (MMEMory:MDIRectory). An empty string means that no cal kit files will be loaded.  

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

MMEM:LOAD:CKIT:UDIR 'C:\Rohde&Schwarz\NWA\Calibration\Kits\Autoload'

Specifiy the directory for additionally available cal kits.

MMEM:LOAD:CKIT:UDIR 'C:\Rohde&Schwarz\NWA\Calibration\Kits\Autoload'

Create the specified 'Autoload' directory.  

MMEM:STOR:CKIT 'New_kit', 'C:\Rohde&Schwarz\NWA\Calibration\Kits\New_kit.calkit'

Store the data for the user-defined cal kit Newkit to the 'Autoload' directory.

 


MMEMory:LOAD:CMAP '<file_name>'

Loads a color scheme from a specified NWA color scheme file.

'<file_name>'

String parameter to specify the name and directory of the cal kit file to be loaded. The default extension (manual control) for color scheme files is *.ColorScheme, although other extensions are allowed.

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

MMEM:LOAD:CMAP 'C:\Rohde&Schwarz\NWA\ColorSchemes\Test.ColorScheme'

Load the previously created color scheme file Test.ColorScheme from the default color scheme directory.

DISP:CMAP13:RGB 1,0,0; :DISP:CMAP14:RGB 0,1,0

Color the first trace red, the second trace green.

MMEM:STOR:CMAP 'C:\Rohde&Schwarz\NWA\ColorSchemes\Test.ColorScheme'

Store the data for the user-defined cal kit Newkit and overwrite the cal kit file New_kit.calkit.

 

 


MMEMory:LOAD:CORRection <channel> | ALL,'<file_name>'
MMEMory:LOAD:CORRection? <channel>

Applies a system error correction data set stored in the cal pool (cal group file) to channel no. <Ch>.  

<channel> | ALL

Channel number of an existing channel. ALL applies the selected data set to all channels.

 

<file_name>

String parameter to specify the name of the cal group file to be loaded. Cal group files must have the extension *.cal. The directory path must not be specified; the analyzer always uses the default cal pool directory C:\Rohde&Schwarz\NWA\Calibration\Data.

 

*RST value

 

SCPI, Command Types

Device-specific, command or query. The query form returns the cal group file assigned to the specified channel (empty string if no cal group file is assigned).

 

Example:

MMEM:STOR:CORR 1,'Calgroup1.cal'

Copy the current correction data set of channel 1 to a cal group file Calgroup1.cal.

CONF:CHAN2:STAT ON; :MMEM:LOAD:CORR 2,'Calgroup1.cal'

Apply the stored correction data (cal group file) to channel 2.

MMEM:LOAD:CORR? 2

Query the cal group file for channel 2. Response: 'Calgroup1.cal'

MMEM:LOAD:CORR:RES 2,'Calgroup1.cal'

Resolve the pool link between channel 2 and the cal group file.

MMEM:LOAD:CORR? 2

Query the cal group file for channel 2. Response: ''

MMEM:DEL:CORR 'Calgroup1.cal'

Delete the created cal group file.

 

 


MMEMory:LOAD:CORRection:MERGe <Channel>, '<file1>.cal', '<file2>.cal', ...

Merges (activates) several cal group files for channel no. <channel> so that the query :SENSe1<Ch>:CORRection:COLLect:METHod:DEFine? returns a list of all merged calibration types (equivalent to the Calibration Pool list in the Calibration Manager dialog). The merged cal group files can be stored to a common file; see example.

<channel>

Channel number of an existing channel.  

 

'<file1>.cal', '<file2>.cal', ...

String parameters with the names of the merged cal group files. Cal group files must have the extension *.cal. The file extensions must be specified as part of the string parameters.
In contrast the directory path must not be specified; the analyzer always uses the default path C:\Rohde&Schwarz\NWA\Calibration\Data.

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

SENS1:CORR:COLL:METH:DEF 'Test', FRTRans, 1, 3

Select a bidirectional transmission normalization between ports 1 and 3 as a calibration type for channel 1.  

CORR:COLL:SAVE:SEL:DEF; :MMEM:STOR:CORR 1, 'P1-P3.cal'

Create a default calibration data set for the selected calibration type and store the data to a cal group file.

SENS1:CORR:COLL:METH:DEF 'Test', FRTRans, 1, 4

Select a bidirectional transmission normalization between ports 1 and 4 as a calibration type for channel 1.  

CORR:COLL:SAVE:SEL:DEF; :MMEM:STOR:CORR 1, 'P1-P4.cal'

Create a default calibration data set for the selected calibration type and store the data to a cal group file.

CORR:COLL:METH:DEF?

Query the active calibrations for channel 1. The response is FRTR0104 (the last data set stored).

MMEM:LOAD:CORR:MERGE 1, 'P1-P3.cal', 'P1-P4.cal'; :CORR:COLL:METH:DEF?

Merge the two calibration types and query the active calibrations again. The response is FRTR0103,FRTR0104.

MMEM:STOR:CORR 1, 'Merged.cal'

Store both sets of calibration data to a common cal group file.

  

 


MMEMory:LOAD:CORRection:RESolve <channel> | ALL [,'<file_name>']

Resolves the pool link between channel <Ch> and a correction data set (cal group file). After resolving the pool link, the analyzer keeps the previous system error correction as a channel calibration (Channel Cal). A new calibration will replace the channel calibration but not overwrite the old cal group file (and not affect other channels).  

<channel> | ALL

Channel number of an existing channel. ALL resolves the pool link for all channels.

 

'<file_name>'

Optional string parameter to specify the name of the cal group file. Cal group files must have the extension *.cal. The directory must not be specified; the analyzer always uses the default path C:\Rohde&Schwarz\NWA\Calibration\Data.
If there is no link between <Ch> and the specified file, the command has no effect. If no file is specified, the command resolves any link between <Ch> and an arbitrary cal group file.  

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

See MMEMory:LOAD:CORRection

 

 


MMEMory:LOAD:CORRection:TCOefficient '<file name>'[,'<parameter name/trace name>']

Loads trace data from a specified power meter correction file or trace file and assigns it to a trace with a specified name. Traces are created using the CALCulate<Ch>:PARameter:SDEFine... command.

'<file name>'

String parameter to specify the name and directory of the trace file to be loaded. The analyzer supports power meter correction list files (*.pmcl, to be generated using MMEMory:LOAD:CORRection:TCOefficient), *csv, and Touchstone (*.s<n>p) files. If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.

The file extensions *.s<n>p, *.csv, and *.pmcl for Touchstone, ASCII, and power meter correction list files are mandatory.

 

'<parameter name/trace name>'

Optional string parameter: For imported Touchstone files for more than one port (*.s2p, *.s3p, *.s4p), the parameter denotes the imported S-parameter ('S11', 'S12', ...). For ASCII (*.csv) files, the parameter references a trace name in the file (case sensitive). If the parameter is omitted, the first trace in the specified file is imported.

The parameter is not used for power meter correction list files (*.pmcl).

*RST value

 

SCPI, Command Types

Confirmed, no query.  

 

Example:

 

See SOURce<Ch>:POWer<Pt>:CORRection:TCOefficient:CALibration

 

 


MMEMory:LOAD:LIMit '<trc_name>','<file_name>'[,'<param_name>', <x_offset>, <y_offset>, <type>]

Loads a limit line definition from a specified file and assigns it to a trace with a specified name. Limit lines are created using the CALCulate<Chn>:LIMit... commands.

Limit lines can be loaded from Touchstone files (*.s<n>p, where <n> denotes the number of ports). The optional parameters '<param_name>', <x_offset>, <y_offset>, <type> are only relevant for Touchstone files. For *.limit files, no optional parameters can be set.  

'<trc_name>'

Name of an existing trace in the active setup (string parameter). The imported limit line is assigned to this trace, irrespective of the trace information in the limit line file.

*RST value

 

'<file_name>'

String parameter to specify the name and directory of the limit line file to be loaded. The default extension (manual control) for limit line files is *.limit, although other extensions are allowed. If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?. See also note on Touchstone files above.

*RST value

 

'<param_name>'

String parameter, selects an S-parameter from a Touchstone file. The parameter must be compatible with the file type (e.g. for one-port Touchstone files *.s1p, only the parameter name 'S11' is allowed).

*RST value

'S11' (if all optional parameters are omitted)

 

<x_offset>

Stimulus offset for limit lines loaded from a Touchstone file. A 1 GHz offset shifts the limit line by 1 GHz in (positive) horizontal direction.   

Range [def. unit]

Depending on the sweep range of the analyzer. [The default units for frequency, power and time sweeps are Hz, dB and s, respectively.]  

*RST value

0

 

<y_offset>

Response offset for limit lines loaded from a Touchstone file. A 1 dB offset shifts the limit line by 1 dB in (positive) vertical direction.  

Range [def. unit]

Depending on the measured quantity. [dB]

*RST value

0

 

<type>

Limit line type :

LMAX – upper limit line
LMIN – lower limit line
OFF – limit line off

*RST value

LMAX (if all optional parameters are omitted)

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

 

Assume that the current setup contains two traces named Trc1 and Trc2, respectively, and that limit lines have been defined for Trc1.

MMEM:STOR:LIM 'TRC1', 'C:\Rohde&Schwarz\NWA\LIMitLines\Lim_Trc1.limit'

Store the limit line definition of Trc1 to a limit line file.

MMEM:LOAD:LIM 'TRC2', 'C:\Rohde&Schwarz\NWA\LIMitLines\Lim_Trc1.limit'

Load the previously created limit line file and assign the limit lines to Trc2.

MMEM:STOR:TRAC 'TRC1', 'C:\Rohde&Schwarz\NWA\LIMitLines\Trc1.s1p'

Store the current trace data of Trc1 to a limit line file in Touchstone format.

MMEM:LOAD:LIM 'TRC1', 'C:\Rohde&Schwarz\NWA\LIMitLines\Trc1.s1p', 'S11', 0, 2, LMAX

Load the previously created Touchstone limit line file and assign the limit lines to Trc1, applying a response offset of 2 dB.

CALC:LIMit:DISPlay ON

Show the limit line in the diagram.

 

 


MMEMory:LOAD:MDAData <Channel>, '<file_name>' | CDELay

Loads the known delay values of a calibration mixer, to be used as a reference for a mixer delay measurement calibration, and enables variable or constant delay mode. Mixer delay measurements are controlled using the SENSe<Ch>:FREQuency:MDELay... commands.

<Channel>

Channel number

*RST value

 

'<file_name>'

String parameter to specify the name and directory of the loaded file. The default extension (manual control) for files containing known delays is *.csv, although other extensions are allowed. If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?. If a file name is specified, the analyzer activates variable delay mode.

CDELay

Use the constant delay values defined via SENSE<Ch>:FREQuency:MDELay:CDELay

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

 

See MMEMory:LOAD:MDCData

 

 


MMEMory:LOAD:MDCData <Channel>, '<file_name>'

Loads correction data for a mixer delay measurement calibration from a specified file and assigns it to a channel with a specified number. Mixer delay measurements are controlled using the SENSe<Ch>:FREQuency:MDELay... commands.

Use MMEMory:LOAD:MDAData to load delay values of a calibration mixer stored in a file.

<Channel>

Channel number

*RST value

 

'<file_name>'

String parameter to specify the name and directory of the calibration file to be loaded. The default extension (manual control) for mixer delay calibration files is *.mcal, although other extensions are allowed. If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

 

Assume that a mixer delay measurement has been configured and enabled (see examples for the SENSe<Ch>:FREQuency:MDELay... commands), and that a calibration mixer is connected to the analyzer.

MMEM:LOAD:MDAD 1, 'C:\Rohde&Schwarz\NWA\Calibration\MixerDelay\MDelay.csv'

Load mixer data for the calibration mixer and activate variable delay mode.

SENS1:FREQ:MDELay:DIV ON

Divide the loaded calibration data by two.

SENS1:FREQ:MDELay:CORR OFF

Disable the current correction (if a correction is on).

SENS1:FREQ:MDEL:ACQ

Take a calibration sweep.

MMEM:STOR:MDCD 1, 'C:\Rohde&Schwarz\NWA\Calibration\MixerDelay\Mixer1.mcal'

Store the measured calibration data for the calibration mixer to a file.

For a new mixer delay measurement:  

MMEM:LOAD:MDCD 1, 'C:\Rohde&Schwarz\NWA\Calibration\MixerDelay\Mixer1.mcal'

Load the previously generated mixer delay calibration file and apply the calibration data to the current mixer delay measurement.

 

 


MMEMory:LOAD:PTRain <Channel>, <Generator>, '<file_name>'

Loads a pulse train definition from a specified file and assigns it to a channel with a specified number. Pulse train definitions are created using the SENSe<Ch>:PULSe:GENerator<Gen>... commands.

<Channel>

Channel number

*RST value

 

<Generator>

Generator number. In the present firmware version, this number is always 1.

*RST value

1

'<file_name>'

String parameter to specify the name and directory of the pulse train file to be loaded. The default extension (manual control) for pulse train files is *.train, although other extensions are allowed. If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

 

Assume that the current setup contains two channels Ch1 and Ch2, and that a pulse train has been defined for Ch1.

MMEM:STOR:PTR 1, 1, 'C:\Rohde&Schwarz\NWA\PulseTrain\PulseTrain.train'

Store the pulse train definition of Ch1 to a pulse train file.

MMEM:LOAD:PTR 2, 1, 'C:\Rohde&Schwarz\NWA\PulseTrain\PulseTrain.train'  

Load the previously created pulse train file and assign the definition to Trc2.

 

 


MMEMory:LOAD:RIPPle '<trc_name>','<file_name>'

Loads a ripple limit definition from a specified file and assigns it to a trace with a specified name. Ripple limits are created using the CALCulate<Chn>:RIPPle... commands.

'<trc_name>'

Name of an existing trace in the active setup (string parameter). The imported ripple limit line is assigned to this trace, irrespective of the trace information in the ripple limit file.

*RST value

 

'<file_name>'

String parameter to specify the name and directory of the ripple limit file to be loaded. The default extension (manual control) for ripple limit files is *.ripple, although other extensions are allowed. If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

 

Assume that the current setup contains two traces named Trc1 and Trc2, respectively, and that ripple limits have been defined for Trc1.

MMEM:STOR:RIPP 'TRC1', 'C:\Rohde&Schwarz\NWA\LIMitLines\Lim_Trc1.limit'

Store the ripple limit definition of Trc1 to a ripple limit file.

MMEM:LOAD:RIPP 'TRC2', 'C:\Rohde&Schwarz\NWA\LIMitLines\Lim_Trc1.limit'

Load the previously created ripple limit file and assign the limits  to Trc2.

CALC:RIPP:DISPlay ON

Show the ripple limit line for the active trace in the diagram.

 

 


MMEMory:LOAD:SEGMent <Ch>,'<file_name>'

Loads a sweep segment definition from a specified file and assigns it to a specified channel. Sweep segments are defined using the [SENSe<Ch>:]SEGMent<Seg>... commands.

<Ch>

Channel number.

 

'<file_name>'

String parameter to specify the name and directory of the sweep segment file to be loaded. The default extension (manual control) for sweep segment files is *.seglist, although other extensions are allowed. If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

 

Assume that the current setup contains two channels numbered 1 and 2, respectively, and that sweep segments have been defined for channel no. 1.

MMEM:STOR:SEGM 1, 'C:\Rohde&Schwarz\NWA\SweepSegments\Seg_Ch1.seglist'

Store the sweep segment definition of channel 1 to a sweep segment file.

MMEM:LOAD:SEGM 2, 'C:\Rohde&Schwarz\NWA\SweepSegments\Seg_Ch1.seglist'

Load the previously created sweep segment file and use the sweep segments for channel 2.

 

  


MMEMory:LOAD:STATe <numeric_value>,'<file_name>'

Loads configuration data from a specified setup file and sets the analyzer to the corresponding instrument state.

<numeric_value>

1 (the <numeric_value> is used for compatibility with the SCPI standard but is ignored).

 

<file_name>

String parameter to specify the name and directory of the setup file to be loaded. The default extension (manual control) for setup files is *.zvx, although other extensions are allowed. If no path is specified the analyzer searches the directory 'C:\RohdeSchwarz\Nwa\RecallSets'.

 

 

*RST value

 

SCPI, Command Types

Confirmed, no query.  

 

Example:

MMEM:STOR:STAT 1,'C:\Rohde&Schwarz\NWA\RecallSets\Setup_0413.zvx'

Store the current setup configuration in the file Setup_0413.zvx in the default directory for setup files.

MMEM:LOAD:STAT 1,'C:\Rohde&Schwarz\NWA\RecallSets\Setup_0413.zvx'

Load the settings stored in Setup_0413.zvx.

 

 


MMEMory:LOAD:TRACe '<trc name>','<file name>'[,'<parameter name/trace name>']

Loads trace data from a specified trace file and assigns it to a trace with a specified name. Traces are created using the CALCulate<Ch>:PARameter:SDEFine... command.

'<trc name>'

Name of an existing data trace in the active setup (string parameter). The trace data is loaded into a memory trace associated with the specified data trace. If one or more memory traces are already associated with the specified data trace, the last generated memory trace is overwritten.

 

'<file name>'

String parameter to specify the name and directory of the trace file to be loaded. Several file formats for trace files are supported. If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.

The file extensions *.s<n>p, *.csv, and *.dat for Touchstone, ASCII, and Matlab files are mandatory.

 

'<parameter name/trace name>'

Optional string parameter: For imported Touchstone files for more than one port (*.s2p, *.s3p, *.s4p), the parameter denotes the imported S-parameter ('S11', 'S12', ...). For ASCII (*.csv) and Matlab (*dat) files, the parameter references a trace name in the file (case sensitive). If the parameter is omitted, the first trace in the specified file is imported.

*RST value

 

SCPI, Command Types

Confirmed, no query.  

 

Example:

 

Assume that the current setup contains a trace named Trc1.

MMEM:STOR:TRAC 'TRC1', 'C:\Rohde&Schwarz\NWA\Traces\Trc1.s1p'

Store the current trace data of Trc1 to a trace file.

MMEM:LOAD:TRAC 'TRC1', 'C:\Rohde&Schwarz\NWA\Traces\Trc1.s1p'

Load the previously created trace file and create a memory trace assigned to Trc1.  

CALC:PAR:DEF:SGR 1,2

Create four traces to measure the two-port S-parameters S11, S12, S21, S22. The traces are not displayed.

MMEM:STOR:TRAC 'TRC1', 'C:\Rohde&Schwarz\NWA\Traces\Trc1.s2p'

Store the four S-parameter traces to a two-port Touchstone file.

MMEM:LOAD:TRAC 'TRC1', 'C:\Rohde&Schwarz\NWA\Traces\Trc1.s2p'

Load the previously created Touchstone file and overwrite the previously generated memory trace assigned to Trc1 with the S11 trace.  

 

 


MMEMory:LOAD:VNETworks<Ch>:BALanced:DEEMbedding<Log_pt> '<file_name>', PMAin | PSECondary[, IPORts]  

Loads data from a specified Touchstone file defining a balanced port circuit model for deembedding. Select a balanced port circuit model involving file import before using the command.

<Ch>

Channel number

 

<Log_pt>

Logical port number

'<file_name>'

String parameter to specify the name and directory of the loaded Touchstone file. The balanced port circuit models STSL | STSC | SLST | SCST require two 2-port (*.s2p) files, to be assigned to the different ports PMAin and PSECondary; the FIMPort model requires a single 4-port (*.s4p) file but no additional port assignment.  

If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.

 

Parameters

Port assignment for two 2-port (*.s2p) files:
PMAin – Port 1
PSECondary – Port 2

The ports must be specified for the import of 2-port (*.s2p) files; they must be omitted for 4-port (*.s4p) files.

[IPORts]

Interchange port numbers of loaded *.s2p file. If the parameter is omitted, the port numbers are not interchanged. The parameter must not be used for 4-port files.  

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

*RST; SOUR:LPOR1 1,2; LPOR2 3,4

Define a balanced port configuration.

CALC:TRAN:VNET:BAL:DEEM:TND STSL

Select the Serial .s2p data, shunt L circuit model.

MMEM:LOAD:VNET:BAL:DEEM2 'C:\Rohde&Schwarz\NWA\VNET\Test.s2p', PMA

Load a Touchstone file and assign it to logical port no. 2.

 

 


MMEMory:LOAD:VNETworks<Ch>:BALanced:EMBedding<Log_pt> '<file_name>', PMAin | PSECondary[, IPORts]  

Loads data from a specified Touchstone file defining a balanced port circuit model for embedding. Select a balanced port circuit model involving file import before using the command.

<Ch>

Channel number

 

<Log_pt>

Logical port number

 

'<file_name>'

String parameter to specify the name and directory of the loaded Touchstone file. The balanced port circuit models STSL | STSC | SLST | SCST require two 2-port (*.s2p) files, to be assigned to the different ports PMAin and PSECondary; the FIMPort model requires a single 4-port (*.s4p) file but no additional port assignment.  

If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.

 

Parameters

Port assignment for two 2-port (*.s2p) files:
PMAin – Port 1
PSECondary – Port 2

The ports must be specified for the import of 2-port (*.s2p) files; they must be omitted for 4-port (*.s4p) files.

[IPORts]

Interchange port numbers of loaded *.s2p file. If the parameter is omitted, the port numbers are not interchanged. The parameter must not be used for 4-port files.  

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

*RST; SOUR:LPOR1 1,2; LPOR2 3,4

Define a balanced port configuration.

CALC:TRAN:VNET:BAL:EMB:TND STSL

Select the Serial .s2p data, shunt L circuit model.

MMEM:LOAD:VNET:BAL:EMB2 'C:\Rohde&Schwarz\NWA\VNET\Test.s2p', PMA

Load a Touchstone file and assign it to logical port no. 2.

 

 


MMEMory:LOAD:VNETworks<Ch>:GLOop:DEEMbedding '<file_name>'

Loads data from a specified one-port (*.s1p) Touchstone file defining a ground loop circuit model for deembedding. Select the ground loop circuit model involving file import (FIMPort) before using the command.

<Ch>

Channel number.

 

'<file_name>'

String parameter to specify the name and directory of the loaded Touchstone file. If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

CALC:TRAN:VNET:GLO:DEEM:TND FIMP

Select the 1-Port Data (s1p) circuit model.

MMEM:LOAD:VNET:GLO:DEEM2 'C:\Rohde&Schwarz\NWA\VNET\Test.s1p'

Load a Touchstone file.

 

 


MMEMory:LOAD:VNETworks<Ch>:GLOop:EMBedding '<file_name>'

Loads data from a specified one-port (*.s1p) Touchstone file defining a ground loop circuit model for embedding. Select the ground loop circuit model involving file import (FIMPort) before using the command.

<Ch>

Channel number.

 

'<file_name>'

String parameter to specify the name and directory of the loaded Touchstone file. If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

CALC:TRAN:VNET:SEND:GLO:TND FIMP

Select the 1-Port Data (s1p) circuit model.

MMEM:LOAD:VNET:GLO:EMB 'C:\Rohde&Schwarz\NWA\VNET\Test.s1p'

Load a Touchstone file.

 

 


MMEMory:LOAD:VNETworks<Ch>:PPAir:DEEMbedding<List_idx> '<file_name>', PMAin | PSECondary[, IPORts]  

Loads data from a specified Touchstone file defining a port pair circuit model for deembedding. Select a port pair with a circuit model involving file import before using the command.

<Ch>

Channel number

 

<List_idx>

Current number of a port pair in the list, defined via CALCulate<Ch>:TRANsform:VNETworks:PPAir:DEEMbedding<List_idx>:DEFine

'<file_name>'

String parameter to specify the name and directory of the loaded Touchstone file. The port pair circuit models STSL | STSC | SLST | SCST require two 2-port (*.s2p) files, to be assigned to the different ports PMAin and PSECondary; the FIMPort model requires a single 4-port (*.s4p) file but no additional port assignment.  

If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.

 

Parameters

Port assignment for two 2-port (*.s2p) files:
PMAin – Port 1
PSECondary – Port 2

The ports must be specified for the import of 2-port (*.s2p) files; they must be omitted for 4-port (*.s4p) files.

[IPORts]

Interchange port numbers of loaded *.s2p file. If the parameter is omitted, the port numbers are not interchanged. The parameter must not be used for 4-port files.  

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

*RST; :CALC:TRAN:VNET:PPA:DEEM:DEF 1,2,3,4

Define a port pair configuration with two port pairs (<List_idx> = 1 or 2).

CALC:TRAN:VNET:PPA:DEEM2:TND STSL

Select the Serial .s2p data, shunt L circuit mode for port pair no. 2.

MMEM:LOAD:VNET:PPA:DEEM2 'C:\Rohde&Schwarz\NWA\Traces\Test.s2p', PMA

Load a Touchstone file and assign it to port pair no. 2.

 

 


MMEMory:LOAD:VNETworks<Ch>:PPAir:EMBedding<List_idx> '<file_name>', PMAin | PSECondary[, IPORts]  

Loads data from a specified Touchstone file defining a balanced port circuit model for embedding. Select a port pair with a circuit model involving file import before using the command.

<Ch>

Channel number

 

<List_idx>

Current number of a port pair in the list, defined via CALCulate<Ch>:TRANsform:VNETworks:PPAir:EMBedding<List_idx>:DEFine

 

'<file_name>'

String parameter to specify the name and directory of the loaded Touchstone file. The balanced port circuit models STSL | STSC | SLST | SCST require two 2-port (*.s2p) files, to be assigned to the different ports PMAin and PSECondary; the FIMPort model requires a single 4-port (*.s4p) file but no additional port assignment.  

If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.

 

Parameters

Port assignment for two 2-port (*.s2p) files:
PMAin – Port 1
PSECondary – Port 2

The ports must be specified for the import of 2-port (*.s2p) files; they must be omitted for 4-port (*.s4p) files.

[IPORts]

Interchange port numbers of loaded *.s2p file. If the parameter is omitted, the port numbers are not interchanged. The parameter must not be used for 4-port files.  

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

*RST; :CALC:TRAN:VNET:PPA:EMB:DEF 1,2,3,4

Define a port pair configuration with two port pairs (<List_idx> = 1 or 2).

CALC:TRAN:VNET:PPA:EMB2:TND STSL

Select the Serial .s2p data, shunt L circuit mode for port pair no. 2.

MMEM:LOAD:VNET:PPA:EMB2 'C:\Rohde&Schwarz\NWA\Traces\Test.s2p', PMA

Load a Touchstone file and assign it to port pair no. 2.

 

 


MMEMory:LOAD:VNETworks<Ch>:SENDed:DEEMbedding<Ph_pt> '<file_name>'[, IPORts]

Loads data from a specified two-port (*.s2p) Touchstone file defining a single ended circuit model for deembedding. Select the single ended port circuit model involving file import (FIMPort)before using the command.

<Ch>

Channel number.

 

<Ph_pt>

Physical port number

'<file_name>'

String parameter to specify the name and directory of the loaded Touchstone file. If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.

 

*RST value

 

[IPORts]

Interchange port numbers of loaded *.s2p file. If the parameter is omitted, the port numbers are not interchanged.

SCPI, Command Types

Device-specific, no query.  

 

Example:

CALC:TRAN:VNET:SEND:DEEM:TND FIMP

Select the Serial .s2p data circuit model.

MMEM:LOAD:VNET:SEND:DEEM2 'C:\Rohde&Schwarz\NWA\VNET\Test.s2p'

Load a Touchstone file and assign it to the physical port no. 2.

 

 


MMEMory:LOAD:VNETworks<Ch>:SENDed:EMBedding<Ph_pt> '<file_name>'[, IPORts]

Loads data from a specified two-port (*.s2p) Touchstone file defining a single ended circuit model for embedding. Select the single end. Select the single ended port circuit model involving file import (FIMPort)before using the command.

<Ch>

Channel number.

 

<Ph_pt>

Physical port number

'<file_name>'

String parameter to specify the name and directory of the loaded Touchstone file. If no path is specified the analyzer searches the current directory, to be queried with MMEMory:CDIRectory?.

 

*RST value

 

[IPORts]

Interchange port numbers of loaded *.s2p file. If the parameter is omitted, the port numbers are not interchanged.

SCPI, Command Types

Device-specific, no query.  

 

Example:

CALC:TRAN:VNET:SEND:EMB:TND FIMP

Select the Serial .s2p data circuit model.

MMEM:LOAD:VNET:SEND:EMB2 'C:\Rohde&Schwarz\NWA\VNET\Test.s2p'

Load a Touchstone file and assign it to the physical port no. 2.

 

 


MMEMory:MDIRectory '<directory_name>'

Creates a new subdirectory for mass memory storage in an existing directory.

'<directory_name>'

String parameter to specify the new directory. Either the full path or a subdirectory for the current directory (see MMEMory:CDIRectory).

*RST value

 

SCPI, Command Types

Device-specific, no query.

 

Example:

MMEM:MDIR 'C:\Documents and Settings\New_Directory'

Create the specified directory. The parent directory 'C:\Documents and Settings' must have been created before.

MMEM:MDIR 'C:\Documents and Settings\New_Directory\New_Subdirectory'  

Create an additional subdirectory.   

MMEM:CDIR 'C:'; MDIR 'New_Rootdirectory'  

Create an additional directory C:\New Rootdirectory.   

 

 


MMEMory:MOVE '<file_source>','<file_destination>'

Moves a file to the indicated directory and stores it under the file name specified, if any. If <file_destination> contains no path indication, the command renames the file without moving it.

'<file_source>', '<file_destination>'

String parameters to specify the name and the path of the file to be copied and the name and the path of the new file.  

*RST value

 

SCPI, Command Types

Confirmed, no query.

 

Example:

MMEM:MOVE 'C:\USER\DATA\SETUP.zvx','A:'

Move file Setup.zvx in directory C:\USER\DATA to the external storage medium, mapped to drive A:\.

 

 


MMEMory:NAME '<file_name>'

Defines a name for a file which can be used to store the printer output. The file is created when it is selected as a printer destination (HCOPy:DESTination 'MMEM').

'<file_name>'

String parameter to specify the file name. The supported file formats are *.wmf, *.ewmf, *.bmp, *.png; see command HCOPy:DEVice:LANGuage. The specified directory must exist, otherwise no file can be generated. If no path is specified the analyzer uses the current directory, to be queried with MMEMory:CDIRectory?.

*RST value

'Hardcopy'

 

SCPI, Command Types

Device-specific, with query.

 

Example:

MMEM:NAME 'C:\Screenshots\PLOT1.BMP'

Define a printer file name, to be stored in the existing directory C:\Screenshots (without creating the file).

HCOP:DEST 'MMEM'; :HCOP

Select 'Print to file' and create the printer file specified before.

 

 


MMEMory:RDIRectory '<directory_name>'

Removes an existing directory from the mass memory storage system.

'<directory_name>'

String parameter to specify the directory.

*RST value

 

SCPI, Command Types

Device-specific, no query.

 

Example:

MMEM:RDIR 'C:\Documents and Settings\NetworkService\Application Data'

Removes the specified directory.

 

 


MMEMory:STORe:CKIT '<kit_name>', '<file_name>'

Stores the data of a calibration kit to a specified file.

'<kit_name>'

Name of a user-defined calibration kit available on the analyzer.

It is not possible to modify or store predefined or ideal kits.

 

'<file_name>'

String parameter to specify the name and directory of the cal kit file to be created. The file is a NWA-specific cal kit file with the extension *.calkit. If no path is specified the analyzer uses the current directory, to be queried with MMEMory:CDIRectory?.

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

MMEM:LOAD:CKIT 'C:\Rohde&Schwarz\NWA\Calibration\Kits\New_kit.calkit'

Load the previously created cal kit file New_kit.calkit from the default cal kit directory.

... :MMEM:STOR:CKIT 'New_kit', 'C:\Rohde&Schwarz\NWA\Calibration\Kits\New_kit.calkit'

Store the data for the user-defined cal kit Newkit and overwrite the cal kit file New_kit.calkit.

 

 


MMEMory:STORe:CMAP '<file_name>'

Stores a color scheme to a specified NWA color scheme file.

'<file_name>'

String parameter to specify the name and directory of the color scheme file to be created. If no path is specified the analyzer uses the current directory, to be queried with MMEMory:CDIRectory?. The default extension (manual control) for color scheme files is *.ColorScheme, although other extensions are allowed.

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

See MMEMory:LOAD:CMAP

 

 


MMEMory:STORe:CORRection <Ch>,'<file_name>'

Copies the correction data of channel <Ch> to the cal pool, generating a new correction data file (cal group). The file has the extension *.cal and is stored in the C:\Rohde&Schwarz\NWA\Calibration\Data directory.

<Ch>

Channel number

 

'<file_name>'

String parameter to specify the name of the created cal group file. There is no need to specify the directory path and file extension; the analyzer uses the default cal pool directory C:\Rohde&Schwarz\NWA\Calibration\Data and a *.cal extension.

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

See MMEMory:LOAD:CORRection

 

 


MMEMory:STORe:CORRection:TCOefficient '<file name>'

Saves the current power loss list to a specified power meter correction list file.

'<file name>'

String parameter to specify the name and directory of the created power meter correction list file. The file extension *.pmcl is mandatory. If no path is specified the analyzer uses the current directory, to be queried with MMEMory:CDIRectory?.

 

*RST value

 

SCPI, Command Types

Confirmed, no query.  

 

Example:

 

See SOURce<Ch>:POWer<Pt>:CORRection:TCOefficient:CALibration

 

 


MMEMory:STORe:LIMit '<trc_name>', '<file_name>'

Saves the limit lines associated to a specified trace to a limit line file. Limit lines are created using the CALCulte<Chn>:LIMit... commands.

'<trc_name>'

Name of an existing trace in the active setup (string parameter) for which a limit line definition exists.

 

'<file_name>'

String parameter to specify the name and directory of the created limit line file. The default extension (manual control) for limit line files is *.limit, although other extensions are allowed. If no path is specified the analyzer uses the current directory, to be queried with MMEMory:CDIRectory?.

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

See MMEMory:LOAD:LIMit.

 

 


MMEMory:STORe:MARKer '<file_name>'

Saves the values of all markers to a ASCII file.  

'<file_name>'

String parameter to specify the name and directory of the created ASCII file. The default extension (manual control) for marker files is *.txt, although other extensions are allowed. If no path is specified the analyzer uses the current directory, to be queried with MMEMory:CDIRectory?. An example for the file contents is given below.

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

*RST

Reset the analyzer, creating the default trace no. 1 in channel no. 1.

CALC:MARK ON; MARK:X 1GHz  

Create marker no. 1 and place it to 1 GHz.  

CALC:MARK2 ON; MARK2:X 2GHz  

Create a second marker and place it to 2 GHz.    

MMEM:STOR:MARK 'Marker.txt'   

Store the marker values to an ASCII file. The file contains both marker values:
 
 

 

 


MMEMory:STORe:MDCData <Channel>, '<file_name>'

Stores the correction data for a mixer delay measurement calibration to a specified file. Mixer delay measurements are controlled using the SENSe<Ch>:FREQuency:MDELay... commands.

<Channel>

Channel number. This parameter is ignored; the data is assigned to a channel when the file is re-loaded.  

*RST value

 

'<file_name>'

String parameter to specify the name and directory of the created calibration file. The default extension (manual control) for mixer delay calibration files is *.mcal, although other extensions are allowed. If no path is specified the analyzer uses the current directory, to be queried with MMEMory:CDIRectory?.

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

 

See MMEMory:LOAD:MDCData

 

 


MMEMory:STORe:PTRain <Channel>, <Generator>, '<file_name>'

Saves a pulse train definition associated with a specified channel to a pulse train file. Pulse train definitions are created using the SENSe<Ch>:PULSe:GENerator<Gen>... commands.

<Channel>

Channel number. This parameter is ignored; the data is assigned to a channel when the file is re-loaded.

*RST value

 

<Generator>

Generator number. In the present firmware version, this number is always 1.

*RST value

1

'<file_name>'

String parameter to specify the name and directory of the created pulse train file. The default extension (manual control) for pulse train files is *.train, although other extensions are allowed. If no path is specified the analyzer uses the current directory, to be queried with MMEMory:CDIRectory?.

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

 

See MMEMory:LOAD:PTRain.  

 

 


MMEMory:STORe:RIPPle '<trc_name>', '<file_name>'

Saves the ripple limits associated with a specified trace to a ripple limit file. Ripple limit definitions are created using the CALCulte<Chn>:RIPPle... commands.

'<trc_name>'

Name of an existing trace in the active setup (string parameter) for which a ripple limit definition exists.

 

'<file_name>'

String parameter to specify the name and directory of the created ripple limit file. The default extension (manual control) for ripple limit files is *.ripple, although other extensions are allowed. If no path is specified the analyzer uses the current directory, to be queried with MMEMory:CDIRectory?.

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

See MMEMory:LOAD:LIMit.

 

 


MMEMory:STORe:SEGMent <Ch>, '<file_name>'

Saves the sweep segment definition of a specified channel to a sweep segment file. Sweep segments are defined using the [SENSe<Ch>:]SEGMent<Seg>... commands.

<Ch>

Channel number.

 

'<file_name>'

String parameter to specify the name and directory of the created sweep segment file. The default extension (manual control) for sweep segment files is *.seglist, although other extensions are allowed. If no path is specified the analyzer uses the current directory, to be queried with MMEMory:CDIRectory?.

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

See MMEMory:LOAD:SEGMent.

 

  


MMEMory:STORe:STATe <numeric_value>,'<file_name>'

Stores the configuration data of the current setup to a specified setup file.

MMEMory:STORe:STATe renames the current setup, appending a .zvx extension. See example for MMEMory:LOAD:STATe.

<numeric_value>

1 (the <numeric_value> is used for compatibility with the SCPI standard but is ignored).

 

'<file_name>'

String parameter to specify the name and directory of the created setup file. The default extension (manual control) for setup files is *.zvx, although other extensions are allowed. If no path is specified the analyzer uses the current directory, to be queried with MMEMory:CDIRectory?.

 

*RST value

 

SCPI, Command Types

Confirmed, no query.  

 

Example:

See MMEMory:LOAD:STATe.

 

 


MMEMory:STORe:TRACe '<trc_name>','<file_name>'[,UNFormatted | FORMatted, COMPlex | LINPhase | LOGPhase, POINt | COMMa, SEMicolon | COMMa | TABulator | SPACe]

Stores the trace data of a specified data trace to a trace file. Traces are created using the CALCulte<Ch>:PARameter:SDEFine... command.

*.s<n>p Touchstone files (<n> = 1, 2, 3, ...) are intended for a complete set of <n>-port S-parameters. Data export fails if the active channel does not contain the full set of <n>2 traces. If the necessary traces are available, '<trc_name>' can be the name of any of the traces. To create Touchstone files while less than <n>2 single-ended traces are available, use MMEMory:STORe:TRACe:PORTs.  

'<trc_name>'

Name of an existing data trace in the active setup (string parameter).

 

'<file_name>'

String parameter to specify the name and directory of the created trace file. Several file formats for trace files are supported. The file extensions *.s<n>p, *.csv, and *.dat for Touchstone, ASCII, and Matlab files are mandatory.

To generate a multiport Touchstone file *.s2p, *.s3p..., the channel must contain traces for the full set of S-parameters; the '<trc_name>' is ignored.  

If no path is specified the analyzer uses the directory 'C:\RohdeSchwarz\Nwa\RecallSets'.

 

Optional parameters

UNFormatted – Unformatted data export specified by the second optional parameter
FORMatted – Formatted data export (for *.csv and *.dat files only)

If the first optional parameter is omitted the command stores unformatted data.

COMPlex – Complex values (real and imaginary part)
LINPhase – Linear magnitude and phase
LOGPhase – dB-magnitude and phase

If the second optional parameter is omitted the command stores complex data.

POINt – Decimal separator: point  
COMMa – Decimal separator: comma  

If the third optional parameter is omitted, points are used.

SEMicolon – Field separator: semicolon
COMMa – Field separator: comma  
TABulator – Field separator: tabulator  
SPACe – Field separator: space

If the fourth optional parameter is omitted, semicolons are used.

*RST value

– (the default export format is UNFormatted)

 

SCPI, Command Types

Confirmed, no query.  

 

Example:

See MMEMory:LOAD:TRACe.  

 

 


MMEMory:STORe:TRACe:CHANnel <channel no.> | ALL,'<file_name>'[,UNFormatted | FORMatted, COMPlex | LINPhase | LOGPhase, POINt | COMMa, SEMicolon | COMMa | TABulator | SPACe]

Stores the trace data of all data traces in the specified channel to a trace file. Traces are created using the CALCulte<Ch>:PARameter:SDEFine... command.

*.s<n>p Touchstone files (<n> = 1, 2, 3, ...) are intended for a complete set of <n>-port S-parameters. Data export fails if the active channel does not contain the full set of <n>2 traces.

<channel no.> | ALL

Channel number in the active setup.
ALL – A separate file is created for each channel in the active setup.

 

'<file_name>'

String parameter to specify the name and directory of the created trace file. Several file formats for trace files are supported. The file extensions *.s<n>p, *.csv, and *.dat for Touchstone, ASCII, and Matlab files are mandatory.

To generate a multiport Touchstone file *.s2p, *.s3p..., the channel must contain traces for the full set of S-parameters; the '<trc_name>' is ignored.  

If no path is specified the analyzer uses the C:\Rohde&Schwarz\NWA\Traces directory.

 

Optional parameters

UNFormatted – Unformatted data export specified by the second optional parameter
FORMatted – Formatted data export (for *.csv and *.dat files only)

If the first optional parameter is omitted the command stores unformatted data.

COMPlex – Complex values (real and imaginary part)
LINPhase – Linear magnitude and phase
LOGPhase – dB-magnitude and phase

If the second optional parameter is omitted the command stores complex data.

POINt – Decimal separator: point  
COMMa – Decimal separator: comma  

If the third optional parameter is omitted, points are used.

SEMicolon – Field separator: semicolon
COMMa – Field separator: comma  
TABulator – Field separator: tabulator  
SPACe – Field separator: space

If the third optional parameter is omitted, semicolons are used.

*RST value

– (the default export format is UNFormatted)

 

SCPI, Command Types

Confirmed, no query.  

 

Example:

*RST; :CONF:TRAC:NAME?

Reset the instrument, creating a default channel no 1  and a default trace 'Trc1'.

CALC:PAR:DEF:SGR 1,2

Create four traces to measure the two-port S-parameters S11, S12, S21, S22. The traces are not displayed.

MMEM:STOR:TRAC:CHAN 1, 'C:\Rohde&Schwarz\NWA\Traces\Chn1.csv'

Store alt trace data of Chn1 to a trace file.

MMEM:STOR:TRAC:CHAN 1, 'C:\Rohde&Schwarz\NWA\Traces\Chn1.s2p'

Store the four S-parameter traces to a two-port Touchstone file. The Touchstone file will not contain the default trace 'Trc1'.

 

 


MMEMory:STORe:TRACe:PORTs '<channel no.>','<file_name>', COMPlex | LINPhase | LOGPhase, <Port 1>[, <Port 2>, ...]

Generates a Touchstone file for the specified ports. The Touchstone file (.s<n>p where <n> is the number of ports) contains a full set of <n>2 single-ended S-parameters for the selected ports. Traces are created using the CALCulte<Ch>:PARameter:SDEFine... command. The command fails unless the following conditions are met:

<channel no.>

Channel number in the active setup.

 

'<file_name>'

String parameter to specify the name and directory of the created Touchstone file. The file extension *.s<n>p for a n-port Touchstone file is mandatory.

If no path is specified the analyzer uses the current directory, to be queried with MMEMory:CDIRectory?.

 

Other parameters

COMPlex – Complex values (real and imaginary part)
LINPhase – Linear magnitude and phase
LOGPhase – dB-magnitude and phase

<Port 1>, <Port 2>... – First, second... port number
.

*RST value

– (the default export format in manual control is COMPlex)

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

 

Suppose that a full four-port calibration for ports 1 to 4 and channel 1 has been performed, and that a DUT with two balanced ports is connected. The analyzer measures an arbitrary mixed mode S-parameter.

MMEM:STOR:TRAC:PORT  1, 'Test.s4p', COMPlex, 1,2,3,4

Calculate all single-ended S-parameters and store them to a four-port Touchstone file.