NI-FGEN Tutorial
- Updated2025-10-10
- 1 minute(s) read
Example Programs
NI-FGEN ships with several examples that demonstrate basic signal generator applications. You can access these examples through the Start menu, by navigating to Start»All Programs»National Instruments»NI-FGEN»Examples.
Note
The NI-FGEN examples assume that
you are already familiar with the ADE in which you will be
programming. If you are unfamiliar with the ADE, consult an
introductory text on the ADE before you begin the studying the
NI-FGEN examples.
NI-FGEN provides the same functionality in two different formats—as virtual instruments (VIs) in LabVIEW and as functions in C-based programming languages.
Basic Steps
The tutorial explains how to complete the following programming steps:
- Initialize the session
- Configure an application
- Initiate generation
- Abort generation
- Close the session
- Retrieve error information
After you understand the programming process outlined in this tutorial, you can find advanced information about programming specific signal generator features with the NI-FGEN instrument driver in the Features section.