NI-SWITCH Examples

Examples demonstrate the functionality of the device and serve as programming models and building blocks for your own applications. The NI Example Finder is a utility available for some ADEs that organizes examples into categories and allows you to easily browse and search installed examples. You can see descriptions and compatible hardware models for each example or see all the examples compatible with one particular hardware model.

Table 3. Locating NI-SWITCH Examples
ADE How to Locate Examples
LabVIEW or LabWindows/CVI Locate examples with the NI Example Finder. Within LabVIEW or LabWindows/CVI, select Help » Find Examples and navigate to Hardware Input and Output » Modular Instruments.
ANSI C or Microsoft Visual C/C++ Locate examples in the <NIDocDir>\CVI\Samples\niswitch directory, where <NIDocDir> is one of the following directories:
  • Windows 8/7/Vista—Users\Public\Public Documents\National Instruments
  • Windows XP—Documents and Settings\All Users\Documents\National Instruments