Using Sample Projects and Examples in NI-DAQmx
- Updated2026-07-22
- 2 minute(s) read
Locate and use sample projects and programming examples in NI-DAQmx.
Sample projects and programming examples help you start NI-DAQmx data acquisition tasks and explore advanced measurement features. You can use a sample project to quickly create and run a basic data acquisition task, or use programming examples to explore specific features and implement more advanced measurement scenarios.
These resources help you configure measurements, understand programming workflows, and develop data acquisition applications.
Sample Projects
You can use the My First DAQ Measurement Sample Project to quickly create and run a basic data acquisition task. You can then use examples to explore specific features or implement more advanced measurement scenarios.
Programming Examples
Each API includes a collection of programming examples that help you develop an application. You can modify example code and save it within an application. You can use examples to create a new application or to extend an existing application.
You can run examples without installed hardware by using a NI-DAQmx simulated device. For more information about simulated devices, see the Measurement & Automation Explorer Help for NI-DAQmx. In MAX, select .
To find the locations of programming examples for your software application, see the following table.
| Software Application | Example Location |
|---|---|
| LabVIEW or LabWindows/CVI | |
| SignalExpress | Program Files\National Instruments\SignalExpress\Examples |
| ANSI C | ...NI-DAQ\Examples\DAQmx ANSI C |
| MFC 7.0 C++ | ...NI-DAQ\Examples\MStudioVC2003 |
| Visual Basic .NET and C# for Visual Studio 2003 | ...NI-DAQ\Examples\DotNET1.1 |
| MFC 8.0 C++ | ...NI-DAQ\Examples\MStudioVC2005 |
| MFC 9.0 C++ | ...NI-DAQ\Examples\MStudioVC2008 |
| Visual Basic .NET and C# for Visual Studio 2005 | ...NI-DAQ\Examples\DotNET2.0 |
| Visual Basic .NET and C# for Visual Studio 2008 | ...NI-DAQ\Examples\DotNET3.5 |
Related Information
- Common Applications for NI-DAQmx
Explore common data aqcuisition applications and access detailed information about measurement workflows in NI-DAQmx.
- NI-DAQmx Getting Started
Get step-by-step guidance for using NI-DAQmx to verify device operation, configure hardware in MAX, and build data acquisition tasks. Start with sample projects and progress to LabVIEW programming, triggering, synchronization, and data logging.
- Getting Started with NI-DAQmx