
Operating Manual 1302.6163.12 - 03
7.27
R&S ESU
Remote Control – Programming Examples
More Complex Programming Examples
7.3.9
Measuring the Magnitude and Phase of a Signal
(I/Q Data Acquisition)
Due to the R&S ESU's internal architecture, it is capable of measuring and output-
ting the magnitude and phase of a signal in addition to its power values. This opens
up a variety of possibilities for more in-depth analysis (FFT, demodulation, etc.).
For details on signal processing and the relation between sampling rate and maxi-
mum bandwidth refer to chapter
, section
“TRACe:IQ Subsystem” on page 6.251
The following maximum bandwidths are possible in this measurement depending on
the selected sampling rate:
The following example shows the steps necessary to collect data at a predefined
sampling rate and read it from the I/Q memory.
Data is output in the form of voltage values referring to the analyzer input.
In binary format, the length information carried in the message header is evaluated
and used for calculating the x-axis values.
Binary data is read in three steps:
1. The number of digits carrying the length information is read.
2. The length information itself is read.
3. The trace data is read.
This procedure is necessary with programming languages like Visual Basic which
support only structures of identical data types (arrays), whereas the binary data for-
mat uses different data types in the header and the data section.
---
REM************************************************************************
Public Sub ReadIQData()
'--------- Create variables -----------------------------------------------
Dim IData() As Single
'I values as single floats
Dim QData() As Single
'Q values as single floats
Dim digits As Byte
'No. of digits as length information
Dim IQBytes As Long
'Length of trace data in bytes
Dim IQSamples As Long
'No. of trace data in Samples
Dim LastSize As Long
'Length of last block in bytes
Const BlockSize = 524288
'Block size in R&S ESU, as per manual
result$ = Space$(100)
'Buffer for simple results
The arrays for measured data are dynamically dimensioned to allow the example
to be easily adapted to individual requirements.
Содержание 1129.7246.03
Страница 1: ...R S ESU EMI Test Receiver Operating Manual 1302 6163 12 03 Test Measurement Operating Manual ...
Страница 25: ......
Страница 27: ...R S ESU Putting into Operation 1 2 Operating Manual 1302 6163 12 03 ...
Страница 29: ...R S ESU Getting Started 2 2 Operating Manual 1302 6163 12 03 ...
Страница 31: ...R S ESU Manual Operation 3 2 Operating Manual 1302 6163 12 03 ...
Страница 349: ...R S ESU Instrument Functions Basic Settings 4 318 Operating Manual 1302 6163 12 03 ...
Страница 405: ...R S ESU Instrument Functions User Port 4 374 Operating Manual 1302 6163 12 03 ...
Страница 439: ...R S ESU Remote Control Basics Status Reporting System 5 34 Operating Manual 1302 6163 12 03 ...
Страница 821: ...R S ESU Remote Control Programming Examples More Complex Programming Examples 7 32 Operating Manual 1302 6163 12 03 ...
Страница 841: ...R S ESU Error Messages Device Specific Messages 9 10 Operating Manual 1302 6163 12 03 ...
Страница 854: ...Operating Manual 1302 6163 12 03 10 13 R S ESU ...
Страница 855: ...R S ESU 10 14 Operating Manual 1302 6163 12 03 ...