
Remote Commands to Perform Measurements with I/Q Data
R&S
®
ZNL
216
User Manual 1178.5989.02 ─ 06
9.10
Programming Examples
The following programming examples demonstrate how to capture I/Q data and per-
form I/Q data analysis using the I/Q Analyzer in a remote environment.
I/Q Analysis with Graphical Evaluation
................................................................. 216
Basic I/Q Analysis with Improved Performance
.................................................... 217
9.10.1
I/Q Analysis with Graphical Evaluation
This example demonstrates how to configure and perform a basic I/Q data acquisition
and analyze the data using the I/Q Analyzer in a remote environment.
//--------------Activating the I/Q Analyzer application ---------------------
*RST
//Reset the instrument
INST:CRE IQ,'IQANALYZER'
//Creates a new measurement channel named 'IQANALYZER'.
INIT:CONT OFF
//Switches to single sweep mode
//--------------Configuring Data Acquisition-------------
TRAC:IQ:SRAT 32MHZ
//Defines the sample rate.
TRAC:IQ:RLEN 1000
//Sets the record length (number of samples to capture) to 1000 samples.
TRAC:IQ:BWID?
//Queries the bandwidth of the resampling filter, determined by the sample rate
FORM:DATA REAL,32
//Formats the data as 32-byte real values.
TRAC:IQ:DATA:FORM IQBL
//Lists all I values first, then all Q values in the trace results.
//--------------Configuring the Trace--------------------
TRAC:IQ:AVER ON
//Defines averaging for the I/Q trace.
TRAC:IQ:AVER:COUN 10
//Defines an average over 10 sweeps.
DISP:TRAC1:MODE WRIT
DISP:TRAC2:MODE MAXH
DISP:TRAC3:MODE MINH
//Changes the trace modes.
//--------------Performing the Measurement---------------------
INIT;*WAI
//Initiates a new measurement and waits until the sweep has finished.
//---------------Retrieving Results----------------------------
Programming Examples