You can use Frequency List mode to generate a standard function using a list of frequencies you define.

LabVIEW Example

The procedure below provides the basic steps required to configure Frequency List mode. For an example of the use of Frequency List mode in LabVIEW, refer to the Fgen Sweep Generator.vi example.

  1. Call the niFgen Configure Output Mode VI with Output Mode set to Frequency List.
  2. (Optional) Call the niFgen Clear Frequency List VI to remove any previously created frequency lists from the signal generator memory.
  3. Call the niFgen Create Frequency List VI to set the function type, the frequency list, and the duration of each step in the list..
  4. Call the niFgen Configure Frequency List VI to select the active frequency list and configure the amplitude, DC offset, and start phase of the generation.

C Example

The procedure below provides the basic steps required to configure Frequency List mode. For an example of the use of Frequency List mode in C, refer to the Fgen Sweep SweepGenerator example for CVI.

  1. Call the niFgen_ConfigureOutputMode function with outputMode set to NIFGEN_VAL_OUTPUT_FREQ_LIST.
  2. (Optional) Call the niFgen_ClearFreqList function to remove a previously created frequency lists from the signal generator memory.
  3. Call the niFgen_CreateFreqList function to set the function type, the frequency list, and the duration of each step in the list..
  4. Call the niFgen_ConfigureFreqList function to select the active frequency list and configure the amplitude, DC offset, and start phase of the generation.