R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Command Reference
SCPI Command Reference
Operating Manual 1145.1084.12 – 30 1075
TRACe:COPY:MATH <memory_trc>,<data_trc>
Copies a mathematical trace to a memory trace. The trace to be copied can be specified by two
alternative methods:
As the active mathematical trace of channels 1 to 4 (CH1DATA, CH2DATA, CH3DATA,
CH4DATA)
As a trace with a name (string variable)
The created memory trace can be specified as follows:
As the memory trace named Mem<n>[Trc<m>], where n = 1, ... 8 and Trc<m> is the name of the
copied data trace (MDATA1, MDATA2, MDATA3, MDATA4, MDATA5, MDATA6, MDATA7,
MDATA8)
As a memory trace with an arbitrary name (string variable)
An existing memory trace with the same name is overwritten.
To copy a data trace which is not modified by any mathematical operations, use TRACe:COPY.
Name of the memory trace.
<memory_trace> is either a string variable (enclosed in single or double quotes)
or one of the following reserved names (no string variables):
MDATA1 | MDATA2 | MDATA3 | MDATA4 | MDATA5 | MDATA6 |
MDATA7 | MDATA8 (only for memory traces Mem<n>[Trc<m>], where n = 1, ...
8; see list of trace names). [–]
<data_trace> is either a string variable (enclosed in single or double quotes) or
one of the following reserved names (no string variables):
CH1DATA | CH2DATA | CH3DATA | CH4DATA (only for the active data
trace in channels Ch1, Ch2, Ch3, Ch4; see list of trace names). [–]
*RST; :SWE:POIN 20
Create a trace with 20 sweep points, making the created trace the active trace
of channel 1 (omitted optional mnemonic SENSe1).
CALC:MATH:SDEF 'Trc1 / 2'; :CALC:MATH:STAT ON
Define a mathematical trace, dividing the data trace by 2. Activate the
mathematical mode and display the mathematical trace instead of the data
trace.
TRAC:COPY:MATH 'Mem_Pt20',CH1DATA; :CALC:MATH:STAT OFF
Copy the current state of the mathematical trace to a memory trace named
"Mem_Pt20". The memory trace is not displayed. Switch the display back to the
data trace.
DISP:WIND:TRAC2:FEED 'MEM_PT20'
Display the created memory trace together with the data trace.