Keysight E4428C ESG RF Programming Manual page 253

Signal generators
Table of Contents

Advertisement

Line
Code Description—Create I and Q data
7–11
Create a loop to do the following:
Generate and scale the I data (DAC values). This example uses a simple sine equation, where 2*3.14
equals one waveform cycle. Change the equation to fit your application.
The array pointer, index, increments from 0–499, creating 500 I data points over one period of the
sine waveform.
Set the scale of the DAC values in the range of −32768 to 32767, where the values −32768 and 32767
equal full scale negative and positive respectively. This example uses 23000 as the multiplier,
resulting in approximately 70% scaling. For more information on scaling, see
Values" on page 219
NOTE
Generate and scale the Q data (DAC value). This example uses a simple cosine equation, where 2*3.14
equals one waveform cycle. Change the equation to fit your application.
The array pointer, index, increments from 0–499, creating 500 Q data points over one period of the
cosine waveform.
Set the scale of the DAC values in the range of −32767 to 32768, where the values −32767 and 32768
equal full scale negative and positive respectively. This example uses 23000 as the multiplier,
resulting in approximately 70% scaling. For more information on scaling, see
Values" on page 219
Keysight Signal Generators Programming Guide
.
The signal generator comes from the factory with I/Q scaling set to 70%. If you reduce the DAC
input values, ensure that you set the signal generator scaling (:RADio:ARB:RSCaling) to an
appropriate setting that accounts for the reduced values.
.
Creating and Downloading Waveform Files
Creating Waveform Data
"Scaling DAC
"Scaling DAC
245

Advertisement

Table of Contents
loading

Table of Contents