Standard Function output mode allows you to generate standard function waveforms such as sine, square, triangle, etc.

LabVIEW Example

The procedure below provides the basic steps required to configure Standard Function mode. For a more detailed example of the use of Standard Function mode in LabVIEW, refer to the Fgen Basic Standard Function.vi example for LabVIEW.

  1. Call the niFgen Configure Output Mode VI. Set Output Mode to Standard Function.
  2. Choose the type of waveform you would like to generate and set the Waveform parameter of the niFgen Configure Standard Waveform VI to the waveform you have chosen.

C Example

The procedure below provides the basic steps required to configure Standard Function mode. For a more detailed example of the use of Standard Function mode in C, refer to the BasicStandardFunction example for CVI.

  1. Call the niFgen_configureOutputMode function. Set outputMode to NIFGEN_VAL_OUTPUT_FUNC.
  2. Choose the type of waveform you would like to generate and set the waveform parameter of the niFgen_configureStandardWaveform function to the waveform you have chosen.