NI-DAQmx, NI-VISA, and NI-488.2 .NET Example Locations

Updated Jan 17, 2019

Reported In


  • GPIB Software
  • NI-DAQmx
  • NI-488.2

Issue Details

Where are the .NET examples located for NI-DAQmx, NI-VISA, and NI- 488.2?


The directories that the .NET examples are installed to depend on the version of the driver, the version of Visual Studio or the .NET Framework supported by the example, the version of Measurement Studio installed, and the operating system.

Important: To get these examples, you must have installed development support for the corresponding driver and/or development environment. The following is a screen capture of the Features option for installing .NET 4.0 - 4.5.1 examples for the VISA driver.

In Windows 10, the .NET examples may be found by navigating to Start>All Apps>National Instruments. There are folders containing examples for each product.  If you need them, you can find the examples under these folders:
C:\Users\Public\Documents\National Instruments\NI-488.2\Examples
C:\Users\Public\Documents\National Instruments\NI-VISA\Examples
C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples

In Windows 8, the .NET examples may be found through the Start menu. Search for examples in the Start menu to access the NI examples folders. The folder named .NET Examples will contain .NET shipping examples for Measurement Studio as well as links to NI-DAQmx, NI-GPIB, and NI-VISA shipping examples.

In Windows 7, .NET Examples can be found from the Start menu:
  • For general Measurement Studio examples, navigate to Start>All Programs>National Instruments>Measurement Studio 201x for Visual Studio 201x>.NET Examples, where 201x is the version of Measurement Studio. 
  • For NI-DAQmx examples, navigate to Start>All Programs>National Instruments>NI-DAQmx>Text-Based Code Support> NI DAQmx .NET x.x Examples, where .NET x.x is your version of .NET.
  • For NI-VISA examples, navigate to Start>All Programs>National Instruments>VISA>Examples, from there, select your version of .NET.
The table below summarizes the default locations of the Measurement Studio, NI-DAQmx, NI-VISA, and NI-488.2 examples on various Windows operating systems:

More information about example directories can be found under the Where To Find Examples topic in the NI Measurement Studio Help for your version of Measurement Studio.


Not Helpful