This Manual contains information about the CMT Network Analyzer remote
control and its data communication, carried out by means of user program
through a computer network.
This manual describes the analyzer command system and the network protocols
used to deliver commands. The commands sent to the analyzer and the
responses from it are text messages conforming to the SCPI (Standard
Commands for Programmable Instruments) specification. The text messages are
delivered over computer networks using TCP/IP Socket network protocols.
TCP/IP Socket is a general-purpose network protocol. The user program can
connect to the analyzer using the TCP/IP Socket protocol both directly and
through the VISA library.
VISA (Virtual Instrument Software Architecture) is a widely used software
inputoutput interface in the field of testing and measurement for controlling
devices from a personal computer. It is a library of functions for C / C ++, C #,
Visual Basic, MATLAB, LabVIEW and others. The VISA library unifies access to all
measuring instruments, regardless of the protocol and equipment used. The
VISA library is installed on the client side, that is, on the computer where the
user program is executed. The VISA library is available on the websites of many
companies for free.
1.1 Programming Manual Scope
This Manual directly applies to the R54, R140, R60 and R180 models VNA.
1.2 Related Documents
Before reading this Manual, familiarize yourself with VNA Operating Manual.
1.3 References
IEEE Standard 488.2–1992, IEEE Standard Codes, Formats, Protocols and Common Commands for Use with ANSI/IEEE Std 488.1–1987. IEEE, New York, NY, 1992.
SCPI Standard–1999, Standard Commands for Programmable Instruments Volume 1: Syntax and Style. SCPI Consortium, San Diego, CA, 1999.
VISA specifications, http://www.ivifoundation.org/specifications.
.
Page 11
2 Analyzer Interfaces
2.1 Ethernet Interface
Ethernet interface is part of the equipment of a personal computer that
connects to the device “R54”, “R140”, “R60” or “R180”.
Data transfer between the PC user and the computer that is connected to the
device, is performed via Socket protocol (TCP, port 5025).
Connect the device to a PC in the local Ethernet network of your company.
Activate the function of remote control via Socket protocol on your Analyzer as
described below.
To enable/disable remote control via Socket protocol use the following softkeys:
System > Network Setup > Interface State > ON/OFF.
Page 12
3 SCPI Overview
The Ethernet interface implement the set of commands based on 1999 SCPI
standard (Standard Commands for Programmable Instruments). This command
set allows the exchange of character messages.
SCPI is developed by SCPI Consortium (http:\\www.scpiconsortium.org).The
main features of SCPI standard are described below. For a more detailed
information on SCPI standard, see the website of SCPI Consortium.
3.1 Command Tree
The SCPI commands are organized in a tree structure. For example:
Each tree structure forms a functional system. The base of the tree is called root,
e.g. MEASure and SYSTem. Each functional system can have subsystems of
lower level. The final nodes are called leaves. The entire sequence from the root
to the leaf makes up the command. For example, part of SOURCe functional
system looks as follows:
:SOURce
:POWer
:CENTer
:STARt
:SPAN
:STOP
[:LEVel]
:SLOPe
[:DATA]
:STATe
Page 13
SCPI Overview
13
This SOURce branch has several levels, where CENTer, STARt, SPAN, STOP,
DATA, STATe are the leaves, which represent the following six commands:
:SOURce:POWer:CENTer
:SOURce:POWer:STARt
:SOURce:POWer:SPAN
:SOURce:POWer:STOP
:SOURce:POWer[:LEVel]:SLOPe[:DATA]
:SOURce:POWer[:LEVel]:SLOPe:STATe
The tree can contain subsystems and leaves with the same names if they belong
to different branches, e.g. CENTer leaf is on the tips of different branches:
:SOURce :SENSe
:POWer :FREQuency
:CENTer :CENTer
3.2 Subsystems
A colon (':') separates the subsystems. The subsystems, which follow the colon
are of a lower level. For example, in command:
:SOURce:POWer:STARt
the start power STARt is a part of POWer subsystem, which is a part of SOURce
subsystem. The stop power is also a part of :SOURce:POWer subsystem. It is
specified by:
:SOURce:POWer:STOP
The first colon in the line can be omitted, for example:
SOURce:POWer:STOP
3.3 Optional Subsystems
Some subsystems can be specified as optional, if omission of such a subsystem
will not lead to ambiguity. This means that the subsystem can be omitted in
command line. The optional subsystems are bracketed ("[ ]"). For example, if full
command specification is written as:
SOURce:POWer[:LEVel]:SLOPe[:DATA]
subsystems LEVel and DATA are optional. Therefore the both commands are
valid:
SOURce:POWer:LEVel:SLOPe:DATA
SOURce:POWer:SLOPe
Page 14
SCPI Overview
14
3.4 Long and Short Formats
Each keyword in a command specification has a long format and a short format.
The short format of a command is indicated by capital letters. For example, a
command specification:
SENSe:FREQuency:CENTer
can be written as:
SENS:FREQ:CENT
SENS:FREQ:CENTer
Only long or short form of each keyword is acceptable. For example, the
following specification is incorrect:
:SENS:FREQuen:CEN
3.5 Case Sensitivity
The commands are not case sensitive. Upper case and lower case letters are
only used to indicate the long and short formats of a command specification.
For example, the following commands are equivalent:
SENS:FREQ:STAR
sens:freq:star
3.6 Parameters
The commands can have parameters. The parameters are separated from the
command by a space. If a command has several parameters, they are separated
by commas (',').
3.6.1 Numeric Values
The numeric values are integer or real numbers. These parameters can have
measurement units. For example:
SENS:FREQ 1000000000
SENS:FREQ 1000 MHz
SENS:FREQ 1 GHz
SENS:FREQ 1E9
Page 15
SCPI Overview
15
Prefix
Multiplier
A
1e–18
F
1e–15
P
1e–12
N
1e–9
U
18–6
M
1e–3
K
1e3
MA
1e6
G
1e9
T
1e12
PE
1e15
EX
1e18
3.6.1.1 Multiplier Prefixes
The SCPI standard allows specification of the numeric values with multiplier
prefix to the measurement units.
There are two exceptions to the above designation: prefix M in combination
with HZ or OHM means 1e6 (Mega), and not 1e–3 (milli), i.e. MHZ means
Megahertz, same as MAHZ.
Page 16
SCPI Overview
16
Notation
Prefix
Example
Binary
#B
#B11001010 = 202
10
Octal
#Q
#Q107 = 71
10
Hexadecimal
#H
#H10FF = 4351
10
3.6.1.2 Notations
The SCPI standard allows numeric value specification in different notations.
Decimal notation is used by default. To use other notations, specify the numeric
values in the following way:
3.6.2 Booleans
The booleans can assume two values: logical yes and logical no (ON and OFF),
and specified in command as:
ON or 1 – logical yes
OFF or 0 – logical no
For example:
DISPlay:ENABle OFF
DISPlay:ENABle 0
3.6.3 Character Data
The SCPI standard allows specification of parameters as character data, as in the
following command:
TRIGger:SOURce {BUS|IMMediate|EXTernal}
the possible values of the character data – "BUS", "IMMediate", "EXTernal".
The character data have long and short format, and the formats are specified in
accordance with the same rules as described in section 3.4.
Apart from that, the character data can be combined with numerical parameters.
For example:
SENSe:FREQuency:STARt {MINimum|MAXimum|<value>}
Page 17
SCPI Overview
17
The following specifications are acceptable:
SENSe:FREQuency:STARt MIN
SENSe:FREQuency:STARt maximum
SENSe:FREQuency:STARt 1000000
3.6.4 String Parameters
In some cases, the instrument can accept parameters made of character strings.
Such strings are enclosed with single quotes (') or double quotes ("). For
example, the file name in the state saving command:
MMEMory:STORe "state01.sta"
3.6.5 Numeric Lists
The numeric lists (<numeric list>) are used to specify a variable number of
numerical parameters, for example:
CALC:LIMit:DATA 2,1,1E9,3E9,0,0,2,1E9,3E9,–3,–3
Page 18
SCPI Overview
18
3.7 Query Commands
The query commands read out the parameter values from the instrument. After a
query command has been sent, the response should return via remote control
interface.
The query commands has a question mark ('?') in the end of the command. Many
of the commands have two forms. The form with a question mark writes the
parameter, the form without a question mark reads out the parameter. For
expample:
SENSe:FREQuency:STARt 1 MHz
SENSe:FREQuency:STARt?
3.8 Numeric Suffixes
The instrument contains several items of the same type, such as 9 channels,
each of which in turn contains 8 traces, etc. A numeric suffix is used to denote
the item number in a command. The suffix is added to the keyword of the item
(channel, trace, etc). For expample, in the following specification the channel
number <Ch> and trace number <Tr> indicate the channel and trace, to which
this command is addressed:
CALCulate<Ch>:PARameter<Tr>:DEFine
According to this specification, the command referred to the trace 2 of the
channel 1 will be written as follows:
CALC1:PAR2:DEF
The numeric suffix can be omitted. In this case, it is 1 by default. For example,
the following commands are equivalent:
CALC:PAR:DEF
CALC1:PAR1:DEF
3.9 Compound Commands
It is possible to enter more than one command in the same command line. The
commands in the line are separated by a semicolon (';'). The specification of the
first command is valid for the following command, except for the last leaf
before the semicolon. For expample:
SENS:FREQ:STAR 1 MHZ;STOP 2MHZ
If you need to start the next command from the highest level of the structure,
this command should start from a colon (':'):
SENS:FREQ:STAR 1 MHZ;:CALC:PAR:DEF S21
Page 19
SCPI Overview
19
*CLS
*ESE
*ESE?
*ESR?
*IDN?
*OPC
*OPC?
*RST
*SRE
*SRE?
*STB?
*TRG
*WAI
3.10 IEEE488.2 Common Commands Overview
A SCPI compatible instrument must support a set of common commands of
IEEE488.2 standard. These commands start with an asterix ('*'). The list of such
commands see below:
These commands are used for resetting, state queries, etc.
3.11 String Terminator
The <new line> character (ASCII 10) in the last data byte of the command string
is used as a command terminator. The string of instructions sent to the
instrument is executed after the instruction terminator is received.
Page 20
4 Remote Control Commands
4.1 Conventions
The following conventions are used throughout the Manual.
4.1.1 Syntax
The following symbols are used in command syntax:
<> identifiers enclosed in angular brackets indicate that a particular
type of data must be specified
[] part enclosed in square brackets can be omitted
{} part enclosed in curly brackets indicates that you must select
one of the items in this part. Individual items are separated by a
vertical bar "|"
Spacespace separates commands from parameters
, comma separates adjacent parameters
…ellipsis indicates that parameters in that part are omitted
Page 21
21
4.1.2 Identifiers
Identifier
Parameter
Description
<numeric>
Number
{<integer>|<real>}
<frequency>
Frequency
<numeric>{[HZ]|KHZ|MHZ|GHZ}
<power>
Power
<numeric>{[DBM]|DBMW|DBW|KW|W|MW|UW|
NW}
<time>
Time
<numeric>{[S]|MS|US|NS|PS|FS}
<logmag>
Log
Amplitude
<numeric>[DB]
<phase>
Phase
<numeric>{[DEG]|MADEG|KDEG|MDEG|
UDEG}
<stimulus>
Stimulus
{<frequency>|<power>|<time>}
<response>
Response
{<logmag>|<phase>|<time>}
<numeric
list>
Numeric List
<numeric 1>,<numeric 2>,...<numeric
N>
Remote Control Commands
Page 22
22
4.2 IEEE488.2 Common Commands
Description
Clears the following (no query)
• Error Queue
• Status Byte Register
• Standard Event Status Register
• Operation Status Event Register
• Questionable Status Event Register
• Questionable Limit Status Event Register
• Questionable Limit Channel Status Event Register
Target
Status Reporting System
Equivalent
Softkeys
None
*CLS
*CLS
Remote Control Commands
Page 23
23
*ESE
Description
Sets or reads out the value of the Standard Event Status Enable
Register (command/query).
Target
Status Reporting System
Parameter
<numeric> 0 to 255
Out of Range
Bitwise AND with 255 number
Query Response
<numeric>
Preset Value
0
Equivalent
Softkeys
None
Description
Reads out the value of the Standard Event Status Register.
Executing this command clears the register value (query only).
Target
Status Reporting System
Query Response
<numeric>
Equivalent
Softkeys
None
*ESE <numeric>
*ESE?
Remote Control Commands
*ESR?
*ESR?
Page 24
24
*IDN?
Description
Reads out the instrument information string. The string format:
<manufacturer>, <model>, <serial number>, <software
version/firmware version> (query only).
For example: Copper Mountain Technologies, Planar – TR1300/1,
00000101, 0.8.12/1.0
Target
Instrument
Query Response
String up to 40 characters
Equivalent
Softkeys
None
Description
Sets the OPC bit (bit 0) of the Standard Event Status Register at
the completion of all pending operations (no query).
Target
Status Reporting System
Equivalent
Softkeys
None
*IDN?
Remote Control Commands
*OPC
*OPC
Page 25
25
*OPC?
Description
1 is read out at the completion of all pending operations (query
only).
Target
Status Reporting System
Query Response
1
Equivalent
Softkeys
None
Description
Restores the default settings of the instrument (no query).
There is difference from presetting the instrument with
:SYST:PRES command – in this case the trigger mode is set to
Hold.
Target
Instrument
Related
Commands
SYSTem:PRESet
Equivalent
Softkeys
None
*OPC?
Remote Control Commands
*RST
*RST
Page 26
26
*SRE
Description
Sets or reads out the value of the Service Request Enable Register
(command/query)
Target
Status Reporting System
Parameter
<numeric> 0 to 255.
Out of Range
Bitwise AND with 255 number
Query Response
<numeric>
Preset Value
0
Equivalent
Softkeys
None
Description
Reads out the value of the Status Byte Register (query only).
Target
Status Reporting System
Query Response
<numeric>
Equivalent
Softkeys
None
*SRE <numeric>
*SRE?
Remote Control Commands
*STB?
*STB?
Page 27
27
*TRG
Description
If the trigger source is set to LAN (set to BUS with the
:TRIG:SOUR command), triggers a sweep.
If the trigger source is not set to the bus or the instrument is not
waiting for a trigger, the command is ignored.
The command is completed before the end of the sweep.
(no query)
Target
Instrument
Related
Commands
TRIG:SOUR
Equivalent
Softkeys
None
Description
Waits for the execution of all commands sent before this
command.
(no query)
Target
Instrument
Equivalent
Softkeys
None
*TRG
Remote Control Commands
*WAI
*WAI
Page 28
28
4.3 Vector Analyzer Commands
Description
Aborts the sweep and switches the triggers of all the channels to
Hold. The channels in Continuous trigger mode switch to waiting
for a trigger. If the trigger source is set to Internal, the channel
from waiting for a trigger turns to a new sweep.
(no query)
Equivalent
Softkeys
None
Description
Sets or reads out the ON/OFF state of S–parameter conversion
function (command/query).
Reads out the formatted data array (query only).
The formatted data array is the data, whose processing is
completed including the formatting as the last step. Such data
represent the data trace values as they are shown on the screen.
The array size is 2N, where N is the number of measurement points.
For the n–th point, where n from 1 to N:
<numeric 2n–1>
real number in rectangular format, real part
in polar and Smith chart formats;
<numeric 2n>
0 in rectangular format, imaginary part in
polar and Smith chart formats.
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Query Response
<numeric 1>, <numeric 2>, …<numeric 2N>
The data transfer format depends on the FORM:DATA command
setting.
Related Commands
CALC:FORM
FORM:DATA
Equivalent Softkeys
None
CALCulate<Ch>[:SELected]:DATA:FDATa?
Remote Control Commands
Page 33
33
CALC:DATA:FMEM?
Description
Reads out the formatted memory array (query only).
The formatted memory array is the data, whose processing is
completed including the formatting as the last step. Such data
represent the memory trace values as they are shown on the
screen.
The array size is 2N, where N is the number of measurement points.
For the n–th point, where n from 1 to N:
<numeric 2n–1>
real number in rectangular format, real part
in polar and Smith chart formats;
<numeric 2n>
0 in rectangular format, imaginary part in
polar and Smith chart formats
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Query Response
<numeric 1>, <numeric 2>, …<numeric 2N>
The data transfer format depends on the FORM:DATA command
setting.
Notes
If the memory is empty, an error occurs and the command is
ignored.
Related Commands
CALC:MATH:MEM
CALC:FORM
FORM:DATA
Equivalent Softkeys
None
CALCulate<Ch>[:SELected]:DATA:FMEMory?
Remote Control Commands
Page 34
34
CALC:DATA:SDAT?
Description
Reads out the corrected data array (query only).
The corrected data array is the data, whose processing is
completed excluding the formatting as the last step. Such data
represent S–parameter complex values.
The array size is 2N, where N is the number of measurement points.
For the n–th point, where n from 1 to N:
<numeric 2n–1>
the real part of corrected measurement;
<numeric 2n>
the imaginary part of corrected
measurement
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Query Response
<numeric 1>, <numeric 2>, …<numeric 2N>
The data transfer format depends on the FORM:DATA command
setting.
Related Commands
FORM:DATA
Equivalent Softkeys
None
CALCulate<Ch>[:SELected]:DATA:SDATa?
Remote Control Commands
Page 35
35
CALC:DATA:SMEM?
Description
Reads out the corrected memory array (query only).
The corrected memory array is the data, whose processing is
completed excluding the formatting as the last step. Such data
represent S–parameter complex values.
The array size is 2N, where N is the number of measurement points.
For the n–th point, where n from 1 to N:
<numeric 2n–1>
the real part of corrected measurement
memory;
<numeric 2n>
the imaginary part of corrected measurement
memory.
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Query Response
<numeric 1>, <numeric 2>, …<numeric 2N>
The data transfer format depends on the FORM:DATA command
setting.
Notes
If the memory is empty, an error occurs and the command is
ignored.
Related Commands
CALC:MATH:MEM
FORM:DATA
Equivalent
Softkeys
None
CALCulate<Ch>[:SELected]:DATA:SMEMory?
Remote Control Commands
Page 36
Remote Control Commands
36
Description
Sets or reads out the gate type of the gating function
(command/query).
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Parameter
"BPASs"
Bandpass type
"NOTCh"
Notch type
Out of Range
Error occurs. The command is ignored. Error code: 219
Sets or reads out the name of *.s2p file of the de–embedded
circuit of the de–embedding function (command/query). The file
contains the circuit S–parameters in Touchstone format.
Target
Port <Pt> of channel <Ch>,
<Ch>={[1]|2|3|4}
<Pt>={[1]}
Parameter
<srting>, up to 256 characters
Preset Value
""
Notes
If the full path of the file is not specified, the \FixtireSim
subdirectory of the main directory will be searched for the file.
Sets or reads out the name of *.s2p file of the embedded circuit of
the embedding function (command/query). The file contains the
circuit S–parameters in Touchstone format.
Target
Port <Pt> of channel <Ch>,
<Ch>={[1]|2|3|4}
<Pt>={[1]}
Parameter
<string>, up to 256 characters
Preset Value
""
Notes
If the full path of the file is not specified, the \FixtireSim
subdirectory of the main directory will be searched for the file.
Sets or reads out the ON/OFF state of the port impedance
conversion function (command/query).
Target
Channel <Ch>,
<Ch>={[1]|2|3|4}
Parameter
{ON|1}
Port Z conversion function ON
{OFF|0}
Port Z conversion function OFF
Query Response
{0|1}
Preset Value
0
Equivalent Softkeys
Analysis > Fixture Simulator > Port Z Conversion
Description
Reads out the data array, which is the CALC:FUNC:EXEC
command analysis result (query only).
The array size is 2N, where N is the number of points set by
CALC:FUNC:POIN? command.
For the n–th point, where n from 1 to N:
<numeric 2n–1>
the response value in n–th measurement
point;
<numeric 2n>
the stimulus value in n–th measurement
point Always set to 0 for the analysis of
mean value, standard deviation, and peak–
to–peak value.
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Query Response
<numeric 1>, <numeric 2>, …<numeric 2N>
The data transfer format depends on the FORM:DATA command
setting.
Reads out the number of points (data pairs) of the analysis result
by the CALC:FUNC:EXEC command (query only).
Always reads out 1, when the search is executed for the
maximum, minimum, mean, standard deviation, peak, and peak–
to–peak values. The actual number of points is read out, when the
search is executed for all peak or all targets.
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Query Response
<numeric>
Related
Commands
CALC:FUNC:EXEC
Equivalent
Softkeys
None
CALCulate<Ch>[:SELected]:FUNCtion:POINts?
Remote Control Commands
Page 56
Remote Control Commands
56
Description
Selects the polarity when performing the peak search with the
CALC:FUNC:EXEC command (command/query).
Sets the data array, which is the limit line in the limit test function
(command/query).
The array size is 1 + 5N, where N is the number of limit line
segments.
For the n–th point, where n from 1 to N:
<numeric 1>
the number of limit line segments N is from
0 to 100. Setting 0 clears the limit line.
<numeric 5n –3>
type of the n–th limit line segment 0: Off.
1: Upper limit
2: Lower limit
3: Single Point limit
<numeric 5n–2>
the stimulus value in the start point of the
n– th segment
<numeric 5n–1>
the stimulus value in the end point of the n–
th segment
<numeric 5n–0>
the response value in the start point of the
n–th segment
<numeric 5n+1>
the response value in the end point of the
n–th segment
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Query Response
<numeric 1>, <numeric 2>, …<numeric 5N+1>
The data transfer format depends on the FORM:DATA command
setting.
Notes
If the array size is not 1 + 5N, where N is <numeric 1>, an error
occurs (error code 214). If <numeric 5n–3> is less than 0 or
more than 2, an error occurs (error code 214). When <numeric
5n–2>, <numeric 5n–1>, <numeric 5n–0>, and
<numeric 5n+1> elements are out of allowable range, the value
is set to the limit, which is closer to the specified value.
Reads out the data array, which is the limit test results (query only).
The array size is 4N, where N is the number of measurement points.
For the n–th point, where n from 1 to N:
<numeric 4n–3>
the stimulus value in the n–th point;
<numeric 4n–2>
the limit test result in the n–th point;–1:
No limit
0: Fail
1: Pass
<numeric 4n–1>
the upper limit value in the n–th point (0 –
if there is no limit)
<numeric 4n–0>
the lower limit value in the n–th point (0 –
if there is no limit)
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Query Response
<numeric 1>, <numeric 2>, …<numeric 4N>
The data transfer format depends on the FORM:DATA command
setting.
Related Commands
FORM:DATA
Equivalent Softkeys
None
CALC:LIM:REP:ALL?
CALCulate<Ch>[:SELected]:LIMit:REPort:ALL?
Page 66
Remote Control Commands
66
Description
Reads out the number of the measurement points that failed the
limit test (query only).
The stimulus data array of these points can be read out by the
CALC:LIM:REP? command.
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Query Response
<numeric>
Related
Commands
CALC:LIM:REP?
Equivalent
Softkeys
None
CALC:LIM:REP:POIN?
CALCulate<Ch>[:SELected]:LIMit:REPort:POINts?
Page 67
Remote Control Commands
67
Description
Reads out the data array, which is the stimulus values of the
measurement points that failed the limit test (query only).
The array size is set by the CALC:LIM:REP:POIN? command.
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Query Response
<numeric 1>, <numeric 2>,…<numeric N>
The data transfer format depends on the FORM:DATA command
setting.
Related
Commands
CALC:LIM:REP:POIN?
FORM:DATA
Equivalent
Softkeys
None
CALC:LIM:REP?
CALCulate<Ch>[:SELected]:LIMit:REPort[:DATA]?
Page 68
Remote Control Commands
68
Description
Sets or reads out the ON/OFF state of a marker (command/query).
Turning ON a marker with the number from 1 to 15 will turn ON all
the markers of smaller numbers. Turning OFF a marker with the
number from 1 to 15 will turn OFF all the markers of greater
numbers (except of the reference marker). Turning ON/OFF the
reference marker with number 16 does not turn ON/OFF the
markers with the numbers from 1 to 15, but switchs these markers
to the relative measurement mode.
If the marker is not ON, this function will turn the marker ON.
Turning ON a marker with the number from 1 to 15 will turn ON
all the markers of smaller numbers. Turning ON the reference
marker with number 16 does not turn ON the markers with the
numbers from 1 to 15, but switchs these markers to the relative
measurement mode.
Sets or reads out the ON/OFF state of the bandwidth search
function (command/query).
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Parameter
{ON|1}
Bandwidth search function ON
{OFF|0}
Bandwidth search function OFF
Query Response
{0|1}
Preset Value
0
Equivalent Softkeys
Marker > Math > Bandwidth Search > Bandwidth Search
Description
Reads out the bandwidth search result (query only).
The bandwidth search can performed relatively to the marker
<Mk>, or relatively to the absolute maximum value of the trace (in
this case the number of the marker is ignored), what is set by the
CALC:MARK:BWID:REF command.
The data include 4 elements:
If the bandwidth search is impossible, all the read out values are 0.
If the search is performed relatively to a maker, which is OFF, an
error occurs (error code 204).
Sets or reads out the ON/OFF state of the marker coupling function
(command/query).
Target
All the traces of channel <Ch>,
<Ch>={[1]|2|3|4}
Parameter
{ON|1}
Marker coupling ON
{OFF|0}
Marker coupling OFF
Query Response
{0|1}
Preset Value
1
Equivalent Softkeys
Marker > Properties > Marker Couple
Description
Sets or reads out the ON/OFF state of the marker search range
(command/query).
Target
All traces of channel <Ch> (if the marker search range coupling is
set to ON by the CALC:MARK:FUNC:DOM:COUP command),
The active trace of channel <Ch> (if otherwise),
Sets or reads out the start value of the marker search range
(command/query).
Target
All traces of channel <Ch> (if the marker search range coupling is
set to ON by the CALC:MARK:FUNC:DOM:COUP command),
The active trace of channel <Ch> (if otherwise),
Sets or reads out the stop value of the marker search range
(command/query).
Target
All traces of channel <Ch> (if the marker search range coupling is
set to ON by the CALC:MARK:FUNC:DOM:COUP command),
The active trace of channel <Ch> (if otherwise),
Sets or reads out the ON/OFF state of the reference marker
(command/query).
When the reference marker is turned ON, all the values of the other
markers turn to relative values.
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Parameter
{ON|1}
Reference marker ON
{OFF|0}
Reference marker OFF
Query Response
{0|1}
Preset Value
0
Equivalent Softkeys
Marker > Reference Marker
Description
Sets the value of the specified item to the value of the position of
the marker (no query).
Sets the value of the limit, which is closer to the specified value.
Query Response
<numeric>
Preset Value
Stimulus center value
Equivalent
Softkeys
None
CALC:MARK:X
CALCulate<Ch>[:SELected]:MARKer<Mk>:X <stimulus>
CALCulate<Ch>[:SELected]:MARKer<Mk>:X?
Page 85
85
CALC:MARK:Y?
Description
Reads out the response value of the marker (query only).
If the reference marker is turned ON, the values of the markers
from 1 to 15 are read out as relative values to the reference
marker.
The data include 2 elements:
<numeric 1>
real number in rectangular format, real part in
polar and Smith chart formats;
<numeric 2>
0 in rectangular format, imaginary part in polar
and Smith chart formats.
Selects the math operation between the measurement data and the
memory trace data. The math result replaces the data trace. If the
data trace is not saved, the command is ignored (command/query).
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Parameter
"DIVide"
Division Data / Mem.
"MULTiply"
Multiplication Data x Mem.
"ADD"
Addition Data + Mem.
"SUBTract"
Subtraction Data – Mem.
"NORMal"
No math
Out of Range
Error occurs. The command is ignored. Error code: 210.
Query Response
{NORM|SUBT|DIV|ADD|MULT}
Preset Value
NORM
Related Commands
CALC:MATH:MEM
Equivalent Softkeys
Trace > Data Math > { Data/Mem | Data*Mem | Data+Mem | Data–
Mem | OFF }
Description
Saves the measurement data to the memory trace. Automatically
turns on the display the memory trace (no query).
Sets or reads out the ON/OFF state of the math statistics display
(command/query).
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Parameter
{ON|1}
Statistics display ON
{OFF|0}
Statistics display OFF
Query Response
{0|1}
Preset Value
0
Equivalent Softkeys
Marker > Math > Statistics > Statistics
Description
Reads out the math statistics values (query only).
The statistics function is applied either over the whole range (for
all the trace), or within the range specified by CALC:MST:DOM
command (the range limits are determined by two markers).
The data include 3 elements:
<numeric 1>
Mean value;
<numeric 2>
Standard deviation;
<numeric 3>
Peak–to–peak (difference between the
maximum value and the minimum value).
Sets the data array, which is the limit line for the ripple limit
function (command/query).
The array size is 1 + 4N, where N is the number of limit line
segments.
For the n–th point, where n from 1 to N:
<numeric 1>
the number of limit line segments N is the
integer from 0 to 12. Setting 0 clears the
limit line.
<numeric 4n –2>
type of the n–th limit line segment
0: Off.
1: On
<numeric 4n–1>
the stimulus value in the beginning point
of the n–th segment
<numeric 4n–0>
the stimulus value in the end point of the
n–th segment
<numeric 4n+1>
the ripple limit value of the n–th segment
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Query Response
<numeric 1>, <numeric 2>, …<numeric 4N+1>
The data transfer format depends on the FORM:DATA command
setting.
Notes
If the array size is not 1 + 4N, where N is <numeric 1>, an error
occurs (error code 214). If <numeric 4n–2> is less than 0 or
more than 1, an error occurs (error code 214). When <numeric 4n–1>, <numeric 4n–0>, and <numeric 4n+1> elements are
out of allowable range, the value is set to the limit, which is closer
to the specified value.
Reads out the data array, which is the ripple limit test results
(query only).
The array size is 1+3N, where N is the number of ripple limit bands.
For the n–th point, where n from 1 to N:
<numeric 1>
N total number of the bands
<numeric 3n–1>
n number of the band
<numeric 3n–0>
Ripple value in the n–th band
<numeric 3n+1>
Ripple limit test result in the n–th band:
0: Pass
1: Fail
Target
The active trace of channel <Ch>,
<Ch>={[1]|2|3|4}
Query Response
<numeric 1>, <numeric 2>, …<numeric 3N+1>
The data transfer format depends on the FORM:DATA command
setting.
Related Commands
FORM:DATA
Equivalent Softkeys
None
Description
Sets or reads out the ON/OFF state of the trace smoothing function
(command/query).
Reads out the formatted data array (query only).
The formatted data array is the data, whose processing is
completed including the formatting as the last step. Such data
represent the data trace values as they are shown on the screen.
The array size is 2N, where N is the number of measurement points.
For the n–th point, where n from 1 to N:
<numeric 2n–1>
real number in rectangular format, real part
in polar and Smith chart formats;
<numeric 2n>
0 in rectangular format, imaginary part in
polar and Smith chart formats.
Target
The specified trace <Tr> of channel <Ch>,
<Tr>={[1]|2|3|4}
<Ch>={[1]|2|3|4}
Query Response
<numeric 1>, <numeric 2>, …<numeric 2N>
The data transfer format depends on the FORM:DATA command
setting.
Related Commands
CALC:DATA:FDAT
Equivalent Softkeys
None
CALCulate<Ch>:TRACe<Tr>:DATA:FDATa?
Remote Control Commands
Page 98
98
CALC:TRAC:DATA:FMEM?
Description
Reads out the formatted memory array (query only).
The formatted memory array is the data, whose processing is
completed including the formatting as the last step. Such data
represent the memory trace values as they are shown on the
screen.
The array size is 2N, where N is the number of measurement points.
For the n–th point, where n from 1 to N:
<numeric 2n–1>
real number in rectangular format, real part
in polar and Smith chart formats;
<numeric 2n>
0 in rectangular format, imaginary part in
polar and Smith chart formats.
Target
The specified trace <Tr> of channel <Ch>,
<Tr>={[1]|2|3|4}
<Ch>={[1]|2|3|4}
Query Response
<numeric 1>, <numeric 2>, …<numeric 2N>
The data transfer format depends on the FORM:DATA command
setting.
Notes
If the memory is empty, an error occurs and the command is
ignored.
Related Commands
CALC:DATA:FMEM
Equivalent Softkeys
None
CALCulate<Ch>:TRACe<Tr>:DATA:FMEMory?
Remote Control Commands
Page 99
99
CALC:TRAC:DATA:SDAT?
Description
Reads out the corrected data array (query only).
The corrected data array is the data, whose processing is
completed excluding the formatting as the last step. Such data
represent S–parameter complex values.
The array size is 2N, where N is the number of measurement points.
For the n–th point, where n from 1 to N:
<numeric 2n–1>
the real part of corrected measurement;
<numeric 2n>
the imaginary part of corrected
measurement.
Target
The specified trace <Tr> of channel <Ch>,
<Tr>={[1]|2|3|4}
<Ch>={[1]|2|3|4}
Query Response
<numeric 1>, <numeric 2>, …<numeric 2N>
The data transfer format depends on the FORM:DATA command
setting.
Related Commands
CALC:DATA:SDAT
Equivalent Softkeys
None
CALCulate<Ch>:TRACe<Tr>:DATA:SDATa?
Remote Control Commands
Page 100
100
CALC:TRAC:DATA:SMEM?
Description
Reads out the corrected memory array (query only).
The corrected memory array is the data, whose processing is
completed excluding the formatting as the last step. Such data
represent S–parameter complex values.
The array size is 2N, where N is the number of measurement points.
For the n–th point, where n from 1 to N:
<numeric 2n–1>
the real part of corrected measurement
memory;
<numeric 2n>
the imaginary part of corrected measurement
memory.
Target
The specified trace <Tr> of channel <Ch>,
<Tr>={[1]|2|3|4}
<Ch>={[1]|2|3|4}
Query Response
<numeric 1>, <numeric 2>, …<numeric 2N>
The data transfer format depends on the FORM:DATA command
setting.
Notes
If the memory is empty, an error occurs and the command is
ignored.
Related Commands
CALC:DATA:SMEM
Equivalent Softkeys
None
CALCulate<Ch>:TRACe<Tr>:DATA:SMEMory?
Remote Control Commands
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.