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

Overview

This document provides the location of the .NET examples for NI-DAQmx, NI-VISA, and NI-488.2.

Contents

Introduction

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. For more information on how to install .NET development support for NI-DAQmx, NI-VISA, or NI-488.2, refer to Installing NI Software for Visual Basic C# or .NET Development.

For more information on how to install .NET development support for NI-DAQmx, NI-VISA, or NI-488.2, refer to the following:

Navigating to Examples

You can navigate to the NI-DAQmx, NI-VISA, and NI-488.2 examples from the Windows Start Menu. Refer to your Windows operating system for the navigation path. 

Windows 10

The .NET examples may be found by navigating to Start>All Apps>National Instruments. There are examples folders for each driver.

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.

Windows 7

The .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.

Default Example Directory Locations

The table below lists the default locations of the Measurement Studio, NI-DAQmx, NI-VISA, and NI-488.2 examples on various Windows operating systems.

OSProductExample Location
Windows 10Measurement Studio 201xC:\Users\Public\Documents\National Instruments\MStudioVS201x\DotNET\Examples
NI-DAQmxC:\Users\Public\Documents\National Instruments\NI-DAQ\Examples
NI-VISAC:\Users\Public\Documents\National Instruments\NI-VISA\Examples
NI-488.2C:\Users\Public\Documents\National Instruments\NI-488.2\Examples
Windows 8Measurement Studio 201xUsers\Public\Documents\National Instruments\MStudioVS201x\DotNET\Examples
NI-DAQmxUsers\Public\Documents\National Instruments\NI-DAQ\Examples
NI-VISAUsers\Public\Documents\National Instruments\NI-VISA\Examples
NI-488.2Users\Public\Documents\National Instruments\NI-488.2\Examples
Windows 7/VistaMeasurement Studio 201xUsers\Public\Documents\National Instruments\MStudioVS201x\DotNET\Examples
NI-DAQmxUsers\Public\Documents\National Instruments\NI-DAQ\Examples
NI-VISAUsers\Public\Documents\National Instruments\NI-VISA\Examples
NI-488.2Users\Public\Documents\National Instruments\NI-488.2\Examples
Windows XPMeasurement Studio 201xUsers\Public\Documents\National Instruments\MStudioVS201x\DotNET\Examples
NI-DAQmxUsers\Public\Documents\National Instruments\NI-DAQ\Examples
NI-VISAUsers\Public\Documents\National Instruments\NI-VISA\Examples
NI-488.2Users\Public\Documents\National Instruments\NI-488.2\Examples

Was this information helpful?

Yes

No