
Command Reference
R&S
®
ZNB/ZNBT
760
User Manual 1173.9163.02 ─ 53
CALCulate<Chn>:DATA:NSWeep[:LAST]?
<Format>, <RvCount>
Reads the response values of a trace acquired in single sweep mode
(
OFF
). The trace can be any of the traces acquired dur-
ing the single sweep cycle.
Tip:
●
This command can only be used for
> 1.
●
Ensure that the single sweep is terminated before using this command, otherwise
the results of the trace count will be unpredictable (see example below). Alterna-
tively, use the
CALCulate<Chn>:DATA:NSWeep:FIRSt?
command.
Suffix:
<Chn>
.
Channel number used to identify the active trace
Query parameters:
<Format>
SDATa
Read unformatted sweep data (fixed parameter): Returns the
real and imaginary part of each measurement point (2 values
per trace point, irrespective of the selected trace format).
<RvCount>
Number of sweep to be read. 1 denotes the last sweep acquired,
2 denotes the second-last and so forth.
Range:
1 to sweep count defined via
[SENSe<Ch>:]SWEep:COUNt
Example:
SWE:COUN 10
Define the number of sweeps (10) to be measured in single
sweep mode.
INIT:CONT OFF; :INIT; *OPC?
Activate single sweep mode and start a single sweep sequence
in channel no. 1. Wait until the single sweep sequence is com-
plete.
CALC:DATA:NSW? SDAT,3
Query the results of the 8
th
sweep.
Chapter 9.2.4.3, "Retrieving the Results of Previous
Usage:
Query only
CALCulate<Chn>:DATA:NSWeep:COUNt?
Reads the number of completed sweeps in single sweep mode (
OFF
). The trace can be any of the traces acquired during the single
sweep cycle.
Tip:
This command can only be used for
Suffix:
<Chn>
.
Channel number used to identify the active trace
SCPI Command Reference