USB-6501 Examples
- Updated2026-02-16
- 2 minute(s) read
The NI-DAQmx and NI-DAQmx Base software includes examples you can use to get started programming with your device.
Modify example code and save it in an application, use examples to develop a new application, or add example code to an existing application.
NI-DAQmx Example Programs
NI-DAQmx includes several example applications that demonstrate the functionality of your device and can serve as interactive tools, programming models, and building blocks for your own applications.
Access examples depending on your programming environment and the driver APIs you use to control your device.
NI Example Finder
The NI Example Finder is a utility that organizes examples into categories and allows you to browse and search installed examples. For example, search for DAQmx to locate all NI multifunction DAQ examples. You can see descriptions and compatible hardware models for each example or see all the examples compatible with one particular hardware model.
To locate examples using the NI Example Finder within LabVIEW or LabWindows/CVI, select and navigate to .
LabVIEW ships with the following examples for the USB-6501:- Digital - SW-Timed Input
- Digital - SW-Timed Output
Installed Example Locations
The installation location for NI-DAQmx example programs differs by programming language and development environment. Refer to the following table for information about example program installation locations.
| Software Application | Installed Example Locations |
|---|---|
| LabVIEW | |
| LabWindows/CVI | C:\Users\Public\Documents\National Instruments\CVI\Samples\DAQmx |
| ANSI C | Users\Public\Public Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C. |
| .NET 4.0 | Users\Public\Public Documents\National Instruments\NI-DAQ\Examples\DotNET 4.0 |
| .NET 4.5 | Users\Public\Public Documents\National Instruments\NI-DAQ\Examples\DotNET 4.5 |
NI-DAQmx Base Example Programs
NI-DAQmx Base installs examples on your host computer.
Access NI-DAQmx Base examples from .