Agilent X-Series Signal Generators SCPI Command Reference 277
Arb Commands
Dual ARB Subsystem–N5172B/82B ([:SOURce]:RADio:ARB)
Key Entry Modulation Filter Off On
:GENerate:SINE
Supported N5172B/82B
[:SOURce]:RADio:ARB:GENerate:SINE ["<file_name>"][,<osr>],[<scale>],
[I|Q|IQ][<phasedeg>]
This command creates a sine wave waveform file and saves it in the signal generator’s volatile
waveform memory (WFM1).
"<file_name>" This variable names the file used to save the generated sine wave data.
<osr> This variable sets the oversample ratio, which must be an even number and ï‚³ï€ 4.
The <osr> variable is expressed in samples. If the oversample ratio is < 60 (the
minimum number of samples or I/Q points required for a waveform), multiple
waveform periods are generated to create a waveform file withï€ ï‚³ 60 samples. The
number of periods created is 60  <osr> (quotient will round up to an integer
value). A waveform with an oversample ratio  60 has one period.
<scale> This variable sets the scale factor for the waveform. The scale factor is a real
number from zero to one.
I|Q|IQ Selects I, Q, or I and Q paths for the waveform data. Sinewave data is generated
and applied to the I path if the I path is selected; Q data are set to zeros. Sine
data is generated and applied to the Q path if the Q path is selected; I data are
set to zeros. If the I and Q paths are selected, sinewave data are applied to the I
and Q paths.
<phasedeg> Selects the phase angle of the waveform data. Sinewave data is generated and the
phase angle in degrees is applied to the sine wave.
Example
:RAD:ARB:GEN:SINE "Sine_Wave",60,.5,IQ
The preceding example generates an I/Q sine wave and saves the data to a file named Sine_Wave.
The oversampling ratio is 60, the scaling is set for 50%, and the data is applied to both the I and Q
paths.
The signal generator’s baseband option and available baseband memory determine the maximum
number of samples for the waveform.
Range OSR Option 65x: 4E0 to 32E6
OSR Option 021: 4E0 to 256E6
OSR Option 022: 4E0 to 512E6
OSR Option 023: 4E0 to 1E9
Scale: 0 to 1