Remote Commands to Perform Measurements with I/Q Data
R&S
®
FSV/A3000 I/Q
Analyzer
277
User Manual 1178.8536.02 ─ 01
8.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----------------------------
TRAC:DATA? TRACE1
TRAC:DATA? TRACE2
TRAC:DATA? TRACE3
//Returns the magnitude for each sweep point
LAY:REPL:WIND '1',RIMAG
//Changes the result display to Real/Imag (I/Q)
Programming Examples