NI-FGEN Examples for LabWindows/CVI
NI-FGEN ships with several examples for use with LabWindows/CVI. These examples can help you get started developing an application, and they illustrate how to perform the most common operations with NI signal generators.
Finding the Examples
If you are using LabWindows/CVI 7.0 or later, you can locate these examples by selecting Help»Find Examples to open the NI Example Finder, or you can navigate to the location of the example files specified in the NI-FGEN Instrument Driver Readme.
The NI Example Finder allows you to browse and search installed examples and examples on the NI Developer Zone.
Using the Examples
To use an example in LabWindows/CVI, open the project file for the example you want to run. The source code for these examples is documented, as well as all of the input and output values, to make changing the code to perform different types of generation easier.
Help for Examples
For more information about individual functions and attributes, select Instrument»National Instruments Function Generator to launch the NI-FGEN function panel.
Note If NI-FGEN does not appear in the Instrument menu, select Load and navigate to the location of the example files specified in the NI-FGEN Instrument Driver Readme. Select niFgen.fp to open. |