Frequency List Mode
In Frequency List mode, the device generates a standard function using a list of frequencies you define. A frequency list is composed of steps, each one with a frequency/duration pair. Frequency lists are commonly used for frequency sweeps and frequency shift keying (FSK) applications. Refer to Features Supported to determine if your device supports Frequency List mode.
The following example shows a frequency list and the generated waveform when Single trigger mode is selected. The trigger mode affects the timing and behavior of the generation.
Step | Frequency | Duration |
---|---|---|
0 | 3.0 Hz | 1.0 s |
1 | 6.0 Hz | 0.9 s |
2 | 0.5 Hz | 0.75 s |
3 | 9.0 Hz | 1.1 s |
Creating and Configuring a Frequency List
Call the niFgen Create Frequency List VI or the niFgen_CreateFreqList function to set the function type, the frequency list, and the duration of each step in the list. You can create multiple frequency lists by making additional calls to the niFgen Create Frequency List VI or the niFgen_CreateFreqList function.
To select the active frequency list and configure the amplitude, DC offset, and start phase of the generation, call the niFgen Configure Frequency List VI or the niFgen_ConfigureFreqList function. You can also select the active frequency list by setting the Frequency List Handle property or the NIFGEN_ATTR_FREQ_LIST_HANDLE attribute.
Triggering a Frequency List
The timing and behavior of the generation of a frequency list is dependent on the trigger mode you selected.