Programming examples
R&S
®
ZNB/ZNBT
1524
User Manual 1173.9163.02 ─ 62
CALCulate1:PARameter:SDEFine 'IF_Refl','S22' // Create trace 3
DISPlay:WINDow1:TRACe3:FEED 'IF_Refl' // --> diagram area 1
// Create a second channel for RF isolation measurements
CONFigure:CHANnel2 ON // Create channel 2
CONFigure:CHANnel2:NAME 'CH_RF' // Rename channel 2
SENSe2:FREQuency:CONVersion FUNDamental // Reset mixer mode
// RF isolation is measured with active LO (port 3)
// and with the same fixed LO frequency as in mixer channel 1
SOURce2:FREQuency3:CONVersion:ARBitrary:IFRequency 1, 1, 200 MHz, FIXed
SOURce2:POWer3:PERManent:STATe ON // LO port: generator port
// Create and display trace 4 'RF_Isol' (S21)
CALCulate2:PARameter:SDEFine 'RF_Isol', 'S21' // Create trace 4
DISPlay:WINDow1:TRACe4:FEED 'RF_Isol' // --> diagram area 1
// Create a third channel for LO leakage and feed-through
CONFigure:CHANnel3 ON // Create channel 3
CONFigure:CHANnel3:NAME 'CH_LO' // Rename channel 3
SENSe3:FREQuency:CONVersion FUNDamental // Reset mixer mode
// Use a fixed channel frequency, set to the LO frequency of mixer channel 1
SENSe3:FREQuency:STARt 200 MHz // Start frequency =
SENSe3:FREQuency:STOP 200 MHz // Stop frequency = 200 MHz
SENSe3:SWEep:POINts 1 // One sweep point is enough !
// Create and display trace 5 'LO_Leak' (S13)
CALCulate3:PARameter:SDEFine 'LO_Leak', 'S13' // Create trace 5
DISPlay:WINDow1:TRACe5:FEED 'LO_Leak' // --> diagram area 1
// Create and display trace 6 'LO_Thru' (S23)
CALCulate3:PARameter:SDEFine 'LO_Thru','S23' // Create trace 6
DISPlay:WINDow1:TRACe6:FEED 'LO_Thru' // --> diagram area 1
8.2.7
RFFE/GPIO interface programming
Requires hardware option R&S
Chapter 4.7.19, "RFFE GPIO inter-
Set GPIO Voltages directly
*RST
// Set GPIO voltages
:CONTROL:GPIO1:VOLTAGE:DEF +5V
Condensed programming examples