Programming examples
R&S
®
ZNA
1626
User Manual 1178.6462.02 ─ 20
CALCulate3:PARameter:SDEFine 'LO_Thru','S23'
DISPlay:WINDow1:TRACe6:FEED 'LO_Thru'
//channel names
CONFigure:CHANnel1:NAME 'Ch_M'
CONFigure:CHANnel2:NAME 'CH_RF'
CONFigure:CHANnel3:NAME 'CH_LO'
// Adjust channels for measurement
//channel 1 (arbitrary) remains unchanged
//channel 2 (base frequency), reset arbitrary mode
SENSe2:FREQuency1:CONVersion FUNDamental
// trace RF_Isol in channel Ch_RF is measured with active LO!
SOURce2:FREQuency3:CONVersion:ARBitrary:IFRequency 1, 1, 3 GHz, FIXed
SOURce2:POWer3:PERManent:STATe ON
//channel 3 (LO freqeuncy), reset arbitrary and set LO-frequencies
SENSe3:FREQuency1:CONVersion FUNDamental
//LO-fix : Start=Stop, sweep-points = 1
SENSe3:SWEep:POINts 1
SENSe3:FREQuency1:STARt 200 MHz
SENSe3:FREQuency1:STOP 200 MHz
8.2.7
RFFE/GPIO interface programming
Requires hardware option R&S
Chapter 4.7.25, "RFFE GPIO inter-
Set GPIO Voltages directly
*RST
// Set GPIO voltages
:CONTROL:GPIO1:VOLTAGE:DEF +5V
// Write GPIO configuration into hardware
:CONTrol:GPIO:VOLTage:OUTPut
Sending RFFE commands directly
*RST
// General configuration of RFFE interface 2
:CONTROL:RFFE2:SETTings:FREQuency 50 KHZ
:CONTROL:RFFE2:SETTings:VOLTAGE:IO 2V
:CONTROL:RFFE2:SETTings:VOLTAGE:LOW 0V
:CONTROL:RFFE2:SETTings:VOLTAGE:HIGH 1.2V
// Send commands over RFFE interface 2
// Slave address: 0xA; command number: 0xBC; data: 0x0123
Condensed programming examples