Command Reference
R&S
®
ZNB/ZNBT
1345
User Manual 1173.9163.02 ─ 55
TRACe:COPY:MATH
<MemTraceName>, <DataTraceName>
Copies a mathematical trace to a memory trace. The trace to be copied can be speci-
fied 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.
Note:
To copy a data trace which is not modified by any mathematical operations, use
Setting parameters:
<MemTraceName>
Name of the memory trace (see also
Range:
<memory_trace> is either a string variable
(enclosed in single or double quotes) or one of the
following reserved names (no string vari-
ables):MDATA1 | MDATA2 | MDATA3 | MDATA4 |
MDATA5 | MDATA6 | MDATA7 | MDATA8 (only for
memory traces Mem<n>[Trc<m>], where n = 1, ...
8).
<DataTraceName>
Name of the data trace (see also
Range:
<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).
Example:
*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. Acti-
vate 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.
SCPI Command Reference