VB.NET NI-FGEN - Basic Arbitrary Sequence Generation
Downloads
Filename: basicarbseq.zip
Requirements: View
This example demonstrates how to create a basic arbitrary waveform sequence using VB.NET. It allows you to create a sequence of 3 waveforms. You can select between a sine, ramp, and square wave and modify the the loop count for each waveform in the sequence. You can also specify a sample rate, gain, and DC offset. This example can be modified to create any waveform sequence.
Using VB.NET (.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.vb 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 |
Requirements
Filename: basicarbseq.zip
Software Requirements
Additional Software: Visual Studio .NET 2005
Hardware Requirements
Hardware Group: Signal Source (AWG/FG/AO)
Driver: NI-FGEN 2.5
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/).
