56
R&S ZVL
Command Reference
Instrument-Control Commands
Operating Manual 1303.6580.32-05
478
The default extension for settings files is *.zvl.dfl. MMEMory:STORe:STATe
automatically appends the default extension, if a file name without extension (or
with a different extension) is specified. It is allowed though to re-name settings
files using other extensions. 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:STATe:NEXT
Stores the configuration data of the current data set to a data set file using the file name used in the last
saving process. This file name is automatically counted up to the next unused name.
*RST value
–
SCPI, Command Types
Device-specific, 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 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 trace
are available, '<trc_name>' can be the name of any of the traces.
'<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 current directory, to be queried with
MMEMory:CDIRectory?.
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.
49
R&S ZVL
Command Reference
Instrument-Control Commands
Operating Manual 1303.6580.32-05
479
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:USER...
The MMEMory:STORe:TRACe:USER... subsystem configures the custom header for trace files.
A*RST does not change the custom header settings. Press the Use Default Directories button in the
System Configuration dialog (Nwa-Setup – System Config.) to reset the settings.
MMEMory:STORe:TRACe:USER:CINFormation <Boolean>
Qualifies whether the calibration information is included in the custom header.
<Boolean>
ON | OFF – calibration information included/omitted
*RST value
ON (after Use Default Directories)
SCPI,
Command
Types
Device-specific, command or query.
Example:
MMEM:STORe:TRAC:USER:IINF OFF; DATE OFF; CINF OFF
Omit instrument information, date and time, and calibration information in the
custom header.
MMEM:STORe:TRAC:USER:TEXT:STAT ON
Include user notes in the custom header.
MMEM:STORe:TRAC:USER:TEXT 'Transmission coefficient S21 for DUT no. 1'
Define user notes.
MMEM:STORe:TRAC:USER:STAT ON
Apply custom header to all trace files created subsequently.
MMEM:STOR:TRAC 'TRC1', 'C:\R_S\Instr\user\Nwa\Traces\Trc1.s1p'
Store the current trace (named Trc1) to a file, including the custom header. The
custom header consists of a single line: ! Transmission coefficient S21 for DUT no.
1
C# PDF - Read Barcode on PDF in C#.NET C#.NET rotate PDF pages, C#.NET search text in PDF, C#.NET edit PDF bookmark, C#.NET edit PDF metadata, C#.NET edit C#.NET PDF Barcode Reader & Scanner
pdf metadata editor online; modify pdf metadata
49
R&S ZVL
Command Reference
Instrument-Control Commands
Operating Manual 1303.6580.32-05
480
MMEMory:STORe:TRACe:USER:DATE <Boolean>
Qualifies whether the date and time is included in the custom header.
<Boolean>
ON | OFF – date and time included/omitted
*RST value
ON (after Use Default Directories)
SCPI, Command Types
Device-specific, command or query.
Example:
See MMEMory:STORe:TRACe:USER:CINFormation
MMEMory:STORe:TRACe:USER:IINFormation <Boolean>
Qualifies whether the instrument information is included in the custom header.
<Boolean>
ON | OFF – instrument information included/omitted
*RST value
ON (after Use Default Directories)
SCPI, Command Types
Device-specific, command or query.
Example:
See MMEMory:STORe:TRACe:USER:CINFormation
MMEMory:STORe:TRACe:USER:STATe <Boolean>
Qualifies whether the custom header is written to the trace file.
<Boolean>
ON | OFF – custom header used/not used
*RST value
OFF (after Use Default Directories)
SCPI, Command Types
Device-specific, command or query.
Example:
See MMEMory:STORe:TRACe:USER:CINFormation
MMEMory:STORe:TRACe:USER:TEXT '<text>'
Defines the user notes for the custom header.
'<target_directory>'
String parameter to specify the user notes
*RST value
'' (empty string, after Use Default Directories))
SCPI, Command Types
Device-specific, no query.
Example:
See MMEMory:STORe:TRACe:USER:CINFormation
MMEMory:STORe:TRACe:USER:TEXT:STATe <Boolean>
Qualifies whether the user notes are included in the custom header.
<Boolean>
ON | OFF – user notes used/not used
54
R&S ZVL
Command Reference
Instrument-Control Commands
Operating Manual 1303.6580.32-05
481
*RST value
ON (after Use Default Directories)
SCPI, Command Types
Device-specific, command or query.
Example:
See MMEMory:STORe:TRACe:USER:CINFormation
OUTPut<Pt>...
This subsystem controls the characteristics of the analyzer’s output ports.
OUTPut<Chn>:DPORt PORT1 | PORT2
Selects a source port for the stimulus signal (drive port). The setting acts on the active trace. The effect of
the drive port selection depends on the measurement parameter associated with the active trace:
•
If an S-parameter S
<out><in>
is measured, the second port number index <in> (input port of the DUT
=drive port of the analyzer) is set equal to the selected drive port: Drive port selection affects the
measured quantity.
•
If a wave quantity or a ratio is measured, the drive port is independent from the measured
quantity:
Note: This command is equivalent to [SENSe<Chn>:]SWEep:SRCPort.
<Chn>
Channel number used to identify the active trace. If unspecified the numeric
suffix is set to 1.
PORT1 ...
Test port number of the analyzer, 1 to 2.
*RST value
PORT1
SCPI, Command
Types
Device-specific, with query.
Example:
CALC4:PAR:SDEF 'Ch4Tr1', 'A1'
Create channel 4 and a trace named Ch4Tr1 to measure the wave quantity a1.
The trace automatically becomes the active trace.
OUTP4:DPOR PORT2
Select drive port 2 for the active trace.
OUTPut<Ch>[:STATe] <Boolean>
Turns the internal source power at all ports and the power of all external generators on or off.
<Ch>
Channel number. This suffix is ignored; the setting is valid for all channels.
<Boolean>
ON | OFF - Switches the power on or off.
*RST value
ON
SCPI, Command Types
Device-specific, command or query
Example:
OUTP OFF
41
R&S ZVL
Command Reference
Instrument-Control Commands
Operating Manual 1303.6580.32-05
482
Turn off the RF source power.
PROGram...
This subsystem controls external application programs that can be run on the analyzer.
PROGram[:SELected]:EXECute '<file_name>[ <command>]'
Starts an application program or open a file using an application available on the analyzer.
'<file_name>'
Name and path of an application program to be executed or of a file to be opened.
The path can be defined as an absolute path (e.g. 'c:\...') or relative to the current
directory (MMEMory:CDIRectory). Blanks in the file name are not allowed because
everything after a blank is interpreted as a <command>.
<command>
Command name in the selected application <file_name> (optional).
*RST value
–
SCPI,
Command
Types
Confirmed, no query.
Example:
PROG:SEL:NAME PROG
Selects general program execution on the analyzer.
MMEM:CDIR 'C:\Program Files\Rohde&Schwarz\Network Analyzer\Bin'
Go to the program directory.
PROG:EXEC 'iecwin32.exe'
Start the application iecwin32.
PROG:EXEC:WAIT
Lock command execution and manual control of the analyzer until iecwin32 is
paused or stopped.
PROGram[:SELected]:NAME PROG
Selects the application to be run on the analyzer. At present, only the general parameter PROG is
available: PROGram[:SELected]:EXECute can start any program.
Use this command in order to avoid problems should the default value change in future firmware
versions.
PROG
Any program running under Windows XP or any file that can be opened with an
application program available on the analyzer.
44
R&S ZVL
Command Reference
Instrument-Control Commands
Operating Manual 1303.6580.32-05
483
*RST value
PROG
SCPI, Command
Types
Confirmed, command or query.
Example:
See PROGram[:SELected]:EXECute.
PROGram[:SELected]:WAIT
Locks command execution and manual control of the analyzer while a program started via
PROGram[:SELected]:EXECute is running. The analyzer does not execute any further commands or
queries until the program is stopped or paused.
Parameters
None.
*RST value
–
SCPI, Command
Types
Confirmed, command or query. The query also locks command execution; it
returns 1 when the executed program is stopped or paused.
Example:
See PROGram[:SELected]:EXECute.
[SENSe...]
[SENSe<Ch>:]AVERage...
This subsystem sets sweep averaging parameters. The sweep average is a noise-reduction technique
which consists of calculating each measurement point as an average of the same measurement point over
several consecutive sweeps.
[SENSe<Ch>:]AVERage:CLEar
Starts a new average cycle, clearing all previous results and thus eliminating their effect on the new cycle.
<Ch>
Channel number. If unspecified the numeric suffix is set to 1.
*RST value
–
SCPI, Command Types
Confirmed, no query
Example:
AVER:COUN 15; AVER ON
Set the average factor for channel 1 to 15 and enable the sweep average.
AVER:COUN 5; CLE
Reduce the average factor and restart the average.
51
R&S ZVL
Command Reference
Instrument-Control Commands
Operating Manual 1303.6580.32-05
484
[SENSe<Ch>:]AVERage:COUNt <numeric_value>
Defines the number of consecutive sweeps to be combined for the sweep average (Average Factor).
<Ch>
Channel number.
<numeric_value>
Average factor
Range [def. unit]
1to 1000 [1]
*RST value
10
SCPI, Command Types
Confirmed, command or query
Example:
AVER:COUN 15
Set the average factor for channel 1 to 15.
AVER ON
Enable the sweep average.
[SENSe<Ch>:]AVERage[:STATe] <Boolean>
Enable or disable the sweep average.
<Ch>
Channel number.
<Boolean>
ON | OFF - Enables or disables the automatic calculation of the sweep average
over the specified number of sweeps ([SENSe<Ch>:]AVERage:COUNt).
*RST value
ON
SCPI,
Command
Types
Confirmed, command or query
Example:
AVER:COUN 15
Set the average factor for channel 1 to 15.
AVER ON
Enable the sweep average over the defined number of sweeps.
[SENSe<Ch>:]BANDwidth...
This subsystem sets the bandwidth of the IF measurement filter (resolution bandwidth) and the filter type.
The forms BANDwidth and BWIDth are equivalent.
[SENSe<Ch>:]BANDwidth|BWIDth[:RESolution] <bandwidth>
Defines the resolution bandwidth of the analyzer (Meas Bandwidth).
<Ch>
Channel number. If unspecified the numeric suffix is set to 1.
<bandwidth>
Resolution bandwidth
Range [def. unit]
10 Hz to 500 kHz. UP and DOWN increment/decrement the bandwidth in 1-2-5
Documents you may be interested
Documents you may be interested