IviRFSigGen_ConfigureLFGenerator
IviRFSigGenLFGenerator Capability Group
C Function Prototype
ViStatus IviRFSigGen_ConfigureLFGenerator (ViSession vi, ViReal64 frequency, ViInt32 waveform);
Purpose
This function configures the LF generators output frequency and waveform.
Parameters
| Name | Type | Description |
|---|---|---|
| vi | ViSession | The ViSession handle that you obtain from the IviRFSigGen_init or IviRFSigGen_InitWithOptions function. The handle identifies a particular instrument session. Default Value: None |
| frequency | ViReal64 | Specifies the frequency of the active LF generator. The driver uses this value to set the IVIRFSIGGEN_ATTR_LF_GENERATOR_FREQUENCY attribute. Units: Hertz Default Value: 500 Hz |
| waveform | ViInt32 | Specifies the waveform of the active LF generator. The driver uses this value to set the IVIRFSIGGEN_ATTR_LF_GENERATOR_WAVEFORM attribute. Defined Values: IVIRFSIGGEN_VAL_LF_GENERATOR_WAVEFORM_SINE - Sinusoid waveform. IVIRFSIGGEN_VAL_LF_GENERATOR_WAVEFORM_SQUARE - Square waveform. IVIRFSIGGEN_VAL_LF_GENERATOR_WAVEFORM_TRIANGLE - Triangle waveform. IVIRFSIGGEN_VAL_LF_GENERATOR_WAVEFORM_RAMP_UP - Rising ramp waveform. IVIRFSIGGEN_VAL_LF_GENERATOR_WAVEFORM_RAMP_DOWN - Falling ramp waveform. Default Value: IVIRFSIGGEN_VAL_LF_GENERATOR_WAVEFORM_SINE |