![Rohde & Schwarz 1145.1010.04/05/06 Operating Manual Download Page 770](http://html1.mh-extra.com/html/rohde-and-schwarz/1145-1010-04-05-06/1145-1010-04-05-06_operating-manual_1477759770.webp)
Program Examples
R&S
®
ZVA/ZVB/ZVT
1145.1084.12 7.4
E-1
:MMEMORY:STORE:CORRection 1, 'OSM1 TOSM12.cal'
//
// load cal file from calibration file pool
:MMEMORY:LOAD:CORRection 1, 'OSM1 TOSM12.cal'
Modeling a Max Hold Function
The following example shows you how to emulate a max hold function.
//
Reset
the analyzer
*RST
:DISPlay:WINDow1:TITLe:DATA 'Max Hold Function Emulation'
// Create a trace with the last extremum as memory trace.
:TRACe:COPY 'LastExtr', 'Trc1'
// Display this last extremum trace.
// Because it's a memory trace it must be displayed in the same diagram as the mother trace.
:DISPlay:WINDow1:TRACe2:FEED 'LastExtr'
:CALCulate1:MATH:SDEFine 'Max (Data, Mem)'
:CALCulate1:MATH:STATe ON
// Single sweep mode
:INITIATE:CONTINUOUS OFF
// Do a single sweep and update trace with the current extremum.
// This is the last extremum for the next sweep
:INITIATE:IMMEDIATE; *WAI
:TRACe:COPY:MATH 'LastExtr', 'Trc1'
// Loop over these 2 commands
:INITIATE:IMMEDIATE; *WAI
:TRACe:COPY:MATH 'LastExtr', 'Trc1'
:INITIATE:IMMEDIATE; *WAI
:TRACe:COPY:MATH 'LastExtr', 'Trc1'
// ..............
// Continous sweep mode
:INITIATE:CONTINUOUS ON
Summary of Contents for 1145.1010.04/05/06
Page 10: ......
Page 20: ......
Page 22: ......
Page 48: ......
Page 70: ......
Page 72: ......
Page 90: ......
Page 92: ......
Page 108: ......
Page 156: ......
Page 162: ......
Page 406: ...Display Menu R S ZVA ZVB ZVT 1145 1084 12 4 244 E 6 Stack Tile Horizontally Tile Vertically...
Page 450: ...Status Reporting System R S ZVA ZVB ZVT 1145 1084 12 5 18 E 1...
Page 462: ......
Page 766: ......
Page 772: ......
Page 792: ......
Page 794: ......
Page 808: ......