3156B User Manual
Racal Instrument © 2005
Programming Reference 5-105
Ri3156b_apply_FM_waveform
Description
Programs the generator to output frequency modulated waveform. This command lets you specify all
parameters to execute the carrier frequency, deviation range, amplitude, offset, modulating waveform shape
and its frequency as well as frequency of the marker. It also sets FM to be the active waveform mode.
Channel Dependency: Independent
C Syntax
ViStatus ri3156b_apply_sweep_waveform (ViSession instrHandle,
ViReal64 startFrequency,
ViReal64
stopFrequency,
ViReal64 amplitude,
ViReal64 offset,
ViInt16 sweepType,
ViReal64 sweepTime,
ViInt16
sweepDirection,
ViReal64 markerFrequency)
Parameters
Name
Variable
Type
Description
FMcarrierFrequency
ViReal64
Programs the FM carrier frequency.
Valid Range: 0.01 to 25e6
Default Value: 1e6
amplitude
ViReal64
Programs the amplitude for the selected function
Valid range: 10e-3 to 10 (V, into 50
Ω
)
Default:5
offset
ViReal64
Programs the offset for the selected function
Valid range: -4.995 to 4.995 (V, into 50
Ω
)
Default: 0
FMmodulationFrequency
ViReal64
Programs the modulating waveform frequency.
Valid Range: 0.01 to 350e3
Default Value: 10e3
FMfrequencyDeviation
ViReal64
Programs the deviation frequency range.
Valid range: Valid Range: 0<(Carrier Frequency ±
deviation frequency / 2)<25MHz.
Default: 100e3
FMmodulationWaveform
ViInt16
Selects one of 4 built-in waveforms, or arbitrary waveform
to modulate the carrier.