
Programming Examples
R&S
®
ZNB/ZNBT
1356
User Manual 1173.9163.02 ─ 53
// Use range 0 (stimulus range of the trace)
:CALCULATE1:MARKER1:FUNCTION:DOMAIN:USER 0
// Select linear magnitude scale for diagram
:CALCULATE1:FORMAT MLINEAR
// Search for global minimum and maximum (MIN, MAX)
// (initial marker value may be inside or outside the marker search range)
:CALCULATE1:MARKER1:X 1.5GHZ
:CALCULATE1:MARKER:MIN
:CALCULATE1:MARKER1:X?
:CALCULATE1:MARKER1:X 1.5GHZ
:CALCULATE1:MARKER:MAX
:CALCULATE1:MARKER1:X?
// Minimum peak search functions
:CALCULATE1:MARKER1:FUNCTION:SELECT MINIMUM
:CALCULATE1:MARKER1:FUNCTION:SELECT?
// NEXT PEAK
:CALCULATE1:MARKER1:X 1.5GHZ
:CALCULATE1:MARKER:SEARCH:NEXT
:CALCULATE1:MARKER1:X?
// PEAK RIGHT
:CALCULATE1:MARKER1:X 1.5GHZ
:CALCULATE1:MARKER:SEARCH:RIGHT
:CALCULATE1:MARKER1:X?
// PEAK LEFT
:CALCULATE1:MARKER1:X 1.5GHZ
:CALCULATE1:MARKER:SEARCH:LEFT
:CALCULATE1:MARKER1:X?
// Maximum peak search functions
:CALCULATE1:MARKER1:FUNCTION:SELECT MAXIMUM
// Proceed as for minimum search
9.2.4
Data Handling
The following sections provide examples for efficient sweep definition and data han-
dling. Part of the functionality is not available in manual control.
9.2.4.1
Single Sweep Mode
The commands
CALCulate<Ch>:DATA:NSWeep...? SDATa,
<Trace_Hist_Count>
retrieve the results of any sweep within a previously defined
single sweep group. This means that, in single sweep mode, you can first measure a
Condensed Programming Examples