IviFgen_ConfigureFMInternal
IviFgenModulateFM Capability Group
C Function Prototype
ViStatus IviFgen_ConfigureFMInternal (ViSession vi, ViReal64 deviation, ViInt32 waveform, ViReal64 frequency);
Purpose
This function configures the attributes that control the function generator's internal frequency modulation source. These attributes are the peak deviation, waveform, and frequency.
Parameters
Name | Type | Description |
---|---|---|
vi | ViSession | The instrument handle that you obtain from the IviFgen_init or IviFgen_InitWithOptions functions. The handle identifies a particular IVI session. |
deviation | ViReal64 | Pass the maximum frequency deviation you want the function generator to apply to the carrier waveform. This deviation corresponds to the maximum amplitude level of the modulating signal. The driver sets the IVIFGEN_ATTR_FM_INTERNAL_DEVIATION attribute to this value. Units: hertz (Hz) |
waveform | ViInt32 | Pass the waveform you want to use to modulate the output signal. The driver sets the IVIFGEN_ATTR_FM_INTERNAL_WAVEFORM attribute to this value. Defined Values |
frequency | ViReal64 | Specifies the frequency of the internal modulating signal. The driver sets the IVIFGEN_ATTR_FM_INTERNAL_FREQUENCY attribute to this value. Units: hertz (Hz) |