To download NI software, including the products shown below, visit ni.com/downloads.
This is a consolidated export of web examples posted to NI.com for NI-DAQ also known as Traditional NI-DAQ (Legacy). These examples will not work on systems without Traditional NI-DAQ (Legacy) installed, and are not compatible with NI-DAQmx. NI strongly recommends using NI-DAQmx for new designs and migrating existing Traditional NI-DAQ (Legacy) applications to NI-DAQmx. Please review the Getting Started with NI-DAQmx guide for more information on migration.
This page allows you to download all web examples that were posted to NI.com for NI-DAQ also known as Traditional NI-DAQ (Legacy). This includes some examples posted by National Instruments, and some posted by customers to the former DevZone section of NI.com. Hardware supported includes MIO, DIO, TIO, 653x devices and modules, plus AM9513, 8253, and STC chips. The primary development system supported is LabVIEW, as noted, but there are some C, Measurement Studio and Visual Basic examples found in the 'NI-DAQ Examples for LabVIEW 6 and Later, or Text-Based' download. Please see the notes below in regards to legacy software, support and using sample code.
Once your download is complete, you can extract the files and then browse or search locally for examples to use as a reference. The files are broken up by the version numbers associated with the example. Within version type you will find a folder with an abbreviated article title containing an HTML file with a copy of the original description from the page, and any files associated with that page.
To find examples relevant to your needs use keywords the same way you would when searching on the web. Windows search can search through the folder and file names, as well as the content inside the HTML file.
The HTML file originally posted with the example code is provided as a reference with the NI.com formatting removed. The links contained within the HTML files may not be valid. Instead, use the files contained in this export. Some files may need to be unzipped before using.
The example code contained in the 'LabVIEW 5.x and Earlier' folder may not open on your system and is provided as-is, for reference.
If you receive a Windows error similar to 'Destination Path Too Long' or 'The file name(s) would be too long for the destination folder' when trying to extract or move this archive, you will need to move your directories folder levels up to create a shorter overall file path. Folder and file names are based off example titles, with some being long.
These files are provided to support customers who can not migrate from Traditional NI-DAQ (Legacy). National Instruments only provides limited support for Traditional NI-DAQ (Legacy), and will not provide any support for these examples. NI support will not convert between LabVIEW versions, however you may post a request to the NI.com Forums Version Conversion board.
The attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system, or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject to the Sample Code License Terms which can be found at: //ni.com/samplecodelicense
Description-Separate-2Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.