NI-FGEN Examples
Examples demonstrate the functionality of the device, serving as programming models and building
blocks for your own applications.
The NI Example Finder is a utility available for some software applications that organizes examples
into categories and allows you to easily browse and search installed examples. You can see descriptions
and compatible hardware models for each example or see all the examples compatible with one particular
hardware model.
Example locations are shown in the following table.
Table 2. NI-FGEN Example Locations
Locating Examples
Software Application
Locate examples with the NI Example Finder. Within
LabVIEW or LabWindows/CVI, select
Help
»
Find
Examples
and navigate to
Hardware Input and
Output
»
Modular Instruments
.
LabVIEW or LabWindows
™
/CVI
™
Locate examples in the
<NIDocDir>\NI-FGEN\examples
directory, where
<NIDocDir>
is one of the following directories:
•
(Windows 2000/XP)
Documents and
Settings\All Users\Shared
Documents\National Instruments
•
(Windows Vista)
Users\Public\Documents\National
Instruments
ANSI C or Visual Basic
NI-FGEN Instrument Driver
The NI-FGEN API features a set of operations and attributes that exercise all the functionality of the
device, including configuration, control, and other device-specific functions.
The
NI Signal Generators Help
includes information about programming with NI-FGEN.
Creating and Editing Waveforms
The NI Analog Waveform Editor is an interactive software tool for creating and editing analog waveforms.
To view or edit existing waveforms, you can open and resample data files saved in binary or ASCII file
formats. Once a waveform is imported, you can view and edit your waveforms. You can also create new
waveforms by selecting from a library of more than 20 waveform primitives or by entering mathematical
expressions.
©
National Instruments Corporation
13
NI Signal Generators Getting Started Guide