
Command reference
R&S
®
ZND
629
User Manual 1173.9557.02 ─ 61
Parameters:
<Data>
Trace data either in ASCII or block data format, depending on
the current
setting.
Parameters for setting and query:
<Format>
FDATa | SDATa | MDATa | NCData | UCData | SCORr1 |
SCORr2 | SCORr3 | SCORr4 | SCORr5 | SCORr6 | SCORr7 |
SCORr8 | SCORr9 | SCORr10 | SCORr11 | SCORr12 |
SCORr13 | SCORr14 | SCORr15 | SCORr16 | SCORr17 |
SCORr18 | SCORr19 | SCORr20 | SCORr21 | SCORr22 |
SCORr23 | SCORr24 | SCORr25 | SCORr26 | SCORr27
See list of parameters below.
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: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. The second trace
does not become the active trace and is not displayed.
CALC:DATA:TRAC? 'Trc2', FDAT
Query the response values of the second (non-active) trace. 20
comma-separated ASCII values are returned.
CALC:DATA:ALL? FDAT
Query the response values of all traces. 40 comma-separated
ASCII values are returned.
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.
SCPI command reference
www.allice.de
Allice Messtechnik GmbH