NI-SWITCH Examples

NI-SWITCH 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.

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 "SWITCH" to locate all NI-SWITCH 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 Help»Find Examples and navigate to Hardware Input and Output»Modular Instruments»NI-SWITCH.

Example Locations

ADE Example Locations
LabVIEW or LabWindows/CVI Within LabVIEW or LabWindows CVI, select Help»Find Examples and navigate to Hardware Input and Output»Modular Instruments.
C/C++
  • Windows — Users\Public\Documents\National Instruments\NIDocDir\NI-SWITCH\examples
  • Linux — usr/share/niswitch-devel/examples
.NET 4.0 C:\Users\Public\Documents\National Instruments\NI-SWITCH\Examples\DotNET 4.0
4.5 C:\Users\Public\Documents\National Instruments\NI-SWITCH\Examples\DotNET 4.5
Python Refer to Python NI-SWITCH Examples.