Command Reference
R&S
®
ZNB/ZNBT
688
User Manual 1173.9163.02 ─ 38
Example:
Writing memory traces
*RST; SWE:POIN 3
Create a data trace 'Trc1' with 3 sweep points, making the cre-
ated trace the active trace of channel 1 (omitted optional mne-
monic SENSe1).
TRAC:COPY 'MemTrc1','Trc1'; :CALC:PAR:SEL
'MemTrc1'
Copy the data trace to a memory trace and select the memory
trace as an active trace.
CALC:DATA SDAT, 1,2, 3,4, 5,6
Write numbers (1,2), (3,4), (5,6) to the memory trace.
CALC:DATA? SDAT
Query the memory trace. The response is 1,2,3,4,5,6.
FORM REAL,32
Change the data format to 4-byte block data.
CALC:DATA SDAT, #224123456789012345678901234
Write 24 bytes (= 4 * 2 * 3 bytes) of data to the memory trace.
The following parameters are related to trace data (see also diagram in
Table 7-2: Data format identifiers used in the CALCulate:DATA... commands
FDATa
Formatted trace data, according to the selected trace format (CALCu-
late<Ch>:FORMat). 1 value per trace point for Cartesian diagrams, 2 values for
polar diagrams.
SDATa
Unformatted trace data: Real and imaginary part of each measurement point. 2
values per trace point irrespective of the selected trace format. The trace mathe-
matics is not taken into account.
MDATa
Unformatted trace data (see SDATa) after evaluation of the trace mathematics.
NCData
Factory calibrated trace data: the values are obtained right after applying the fac-
tory calibration but before applying a user-defined calibration (if any).
Offset, embedding/deembedding and impedance normalization will not be per-
formed.
UCData
Uncalibrated trace data.
Note that
●
the respective trace must represent a wave quantity or ratio
●
driving and receiving port must not be located on a switch matrix
Otherwise an error occurs.
The following parameters denote the error terms generated during a calibration.
Table 7-3: Error terms in the CALCulate:DATA... commands
Error Term
Description
Receive Ports (S-parameter)
SCORr1, ..., SCORr12
1 and 2 (S11, S12, S21, S22)
SCORr13
Directivity
3 (S33)
SCORr14
Source match
3 (S33)
SCORr15
Reflection tracking
3 (S33)
SCPI Command Reference