![National Instruments NI PXIe-5450 User Manual Download Page 128](http://html2.mh-extra.com/html/national-instruments/ni-pxie-5450/ni-pxie-5450_user-manual_3486740128.webp)
Chapter 4
Programming
©
National Instruments Corporation
4-9
NI PXIe-5450 User Manual
Project»References
, and then
National Instruments Function
Generator
.
Note
If you do not see the NI-FGEN library listed there, click
Browse
and locate
niFGEN_32.dll
in the directory listed in the NI-FGEN Instrument Driver Readme.
4.
Use the Object Browser <F2> to find function prototypes and
constants.
5.
Add NI-FGEN function calls to your application.
6.
Run your application by clicking
Run»Start
.
NI-FGEN Tutorial
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:
1.
Initialize the session
2.
Configure an application
3.
Initiate generation
4.
Abort generation
5.
Close the session
6.
Retrieve error information
After you understand the programming process outlined in this tutorial, you
can find advanced information about programming specific signal