Programming examples
R&S
®
ZNA
1628User Manual 1178.6462.02 ─ 20
:CONTrol:SEQuence2:DELay 3ms
// Step 3
:CONTrol:SEQuence3:GPIO5:VOLTage 1V
// During sweep, output voltage will be 1V
Configuring RFFE sweep Sequencer (segmented sweep)
For segmented sweeps, the RFFE device will be configured in preparation of every
segment.
*RST
// Define segmented sweep
:SENSE1:SEGMENT1:INSERT 1MHZ, 1.5MHZ, 111, -21DBM, 0.5S, 0, 10KHZ
:SENSE1:SEGMENT2:INSERT 2MHZ, 2.5MHZ, 222, -22DBM, 0.5S, 0, MAX
:SENSE1:SEGMENT3:INSERT 3MHZ, 3.5MHZ, 133, -23DBM, 0.5S, 0, 1KHZ
// Activate segemented sweep
:SENSe:SWEep:TYPE SEGMent
// Enable GPIO 4 and RFFE interfaces 1 for Sweep Sequencer
:CONTROL:GPIO4:STATe ON
:CONTrol:RFFE1:SETTings:STATe ON
// Set default voltage for GPIO Sweep Sequencer list
:CONTROL:GPIO4:VOLTAGE:DEF 0.5V
// Define command sequences per sweep segment
// Segment 1: A single step
:CONT:SEGM1:SEQ1:RFFE1:COMMAND:DATA '12311'
:CONT:SEGM1:SEQ1:GPIO4:VOLT 1.2V
// Segment 3: Two steps
:CONT:SEGM3:SEQ1:RFFE1:COMMAND:DATA '3EF11'
:CONT:SEGM3:SEQ2:RFFE1:COMMAND:DATA '3EF22'
8.2.8 Fixture modeling
We create and apply a fixture model for single-ended deembedding at ports 1 and 2
using the ISD tool.
Prepare the channel
*RST
:SENSe1:FREQuency:STARt MINimum
:SENSe1:FREQuency:STOP MAXimum
Perform a full two-port calibration at ports 1 and 2
For an example, see "// 2 port TOSM" on page 1616
Condensed programming examples