Using NI-SWITCH in LabVIEW

NI Switches

Using NI-SWITCH in LabVIEW

This topic assumes that you are using the NI LabVIEW ADE to manage your code development and that you are familiar with the ADE.

To develop an NI-SWITCH application in LabVIEW, follow these general steps:

  1. Open a new or existing LabVIEW virtual instrument (VI).
  2. From the Functions palette, select Measurement I/O»NI-SWITCH to access the NI-SWITCH API.
  3. Select the VIs that you want to use and drop them on the block diagram to build your application.

Example Programs

Users with LabVIEW 7.1 or later can use the NI Example Finder to search or browse NI-SWITCH examples. Search examples by keyword to find a particular device or measurement VI. To browse the NI-SWITCH examples available in LabVIEW, launch LabVIEW, and select Help»Find Examples. To browse examples by task, select Hardware Input and Output»Modular Instruments»NI-SWITCH (Switches); to browse examples by directory structure, select instr»niSwitch.

For more information about NI-SWITCH examples, refer to Examples.