Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Nov 13, 2009


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

C# NI-FGEN - Sweep Generator

1 ratings | 5.00 out of 5
Print

Downloads

Filename: sweepgencsharp.zip

This program allows you to fully define a frequency sweep. You can select the waveform type, start frequency, end frequency, duration per step, and steps.

Using C# (.NET Language) requires us to wrap the NI-FGEN driver.  To use this example program, you will need to download the NI-FGEN wrapper from the below link and include the niFGEN.cs file within your project.  The NI-FGEN_NEW wrapper is for use with NI-FGEN 2.6.1 and above.  For older versions of NI-FGEN, use the wrapper included in the NI-FGEN.zip file.

Related Links:
Visual C# and Visual Basic .NET Wrappers for National Instruments Modular Instruments Drivers
Using NI-FGEN with C# and Visual Basic .NET
1 ratings | 5.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).