R&S ZVL Command Reference
Instrument-Control Commands
Operating Manual 1303.6580.32-05
351
CALCulate<Chn>:DATA SCORr1 | ... | SCORr27
CALCulate<Chn>:DATA SDATa, <data>
Reads the current response values of the active data trace, reads or writes error terms, or reads or writes
a memory trace.
<Chn>
Channel number used to identify the active trace. If unspecified the numeric suffix
is set to 1.
Parameters
See list of parameters below.
Range [def.
unit]
The data format is parameter-dependent; see below. The unit is the default unit of
the measured parameter; see CALCulate<Ch>:PARameter:SDEFine.
*RST value –
<data>
Unformatted trace data in ASCII or block data format, depending on
FORMat[:DATA] setting. This parameter is only used for writing memory traces;
see example 2 below.
SCPI,
Command
Types
Confirmed, command (for memory traces or error terms) or query.
Example 1:
*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.