R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Command Reference
SCPI Command Reference
Operating Manual 1145.1084.12 – 30 612
*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:DATA? FDAT
Query the 20 response values of the created trace. In the FDATa setting, 20
comma-separated ASCII values are returned.
CALC:DATA:STIM?
Query the 20 stimulus values of the created trace. 20 comma-separated ASCII
values are returned.
CALC2:PAR:SDEF 'Trc2', 'S11'
Create a second trace in a new channel no. 2.
CALC:DATA:ALL? FDAT
Query the response values of all traces. 40 comma-separated ASCII values are
returned.
Example 2:
Write memory
trace
*RST; SWE:POIN 3
Create a data trace 'Trc1' with 3 sweep points, making the created trace the active
trace of channel 1 (omitted optional mnemonic 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 Data Flow diagram):
Formatted trace data, according to the selected trace format (CALCulate<Chn>:FORMat). 1 value per trace point for
Cartesian diagrams, 2 values for polar diagrams.
Unformatted trace data: Real and imaginary part of each measurement point. 2 values per trace point irrespective of the
selected trace format. The trace mathematics is not taken into account. Wave quantities are returned as voltages.
Unformatted trace data (see SDATa) after evaluation of the trace mathematics.
Raw measured values in pulse profile mode, only available for wave quantities and if pulse profile mode is active. The
values correspond to the real output values of the A/D converter; acquired at a fixed sampling rate of 1/12.5 ns. The
number of values in the returned array is not correlated with the number of sweep points; it is equal to the Optimum No
of Points plus a few values at the beginning which the analyzer acquires during the settling time of the IF filter. See also
Show Pulse Profile Settings.
The following parameters denote the error terms generated during a calibration: