NI-SWITCH Programming Examples

NI Switches Help

Edition Date: April 2015

Part Number: 375472H-01

»View Product Info
Download Help (Windows Only)

NI-SWITCH includes a collection of programming examples that demonstrate switch functionality. NI-SWITCH programming examples are instructional tools that you can use as stand-alone programs or integrate into your application. Whether you are developing a new application or modifying an existing application, the NI-SWITCH programming examples can facilitate your application development.

Use the following partial list to identify NI-SWITCH programming example(s) to aid in your application development:

  • niSwitch Making Connections on a Switch—Demonstrates how to connect channels.
  • niSwitch Software Scanning—Demonstrates how to scan a series of channels on a switch using software scanning.
  • niSwitch DMM Switch Synchronous Scanning—Demonstrates how to scan a series of channels on a switch module and take measurements with an NI digital multimeter using synchronous scanning. NI-DMM 2.0 or later is required.
  • niSwitch DMM Switch Handshaking—Demonstrates how to scan a series of channels on a switch module and take measurements with an NI digital multimeter using handshaking. NI-DMM 2.0 or later is required.
  • niSwitch Controlling an Individual Relay—Demonstrates how to control an individual relay on a switch module.

Accessing the Programming Examples

Examples are available for the following ADEs:

  • LabVIEW
  • LabWindows™/CVI™
  • Visual C/C++
  • Visual Basic

For example locations and supported ADE versions, refer to the NI-SWITCH Readme File.

NI-DAQmx includes programming examples for switch functionality, such as multiple module scanning, that is supported in NI-DAQmx. Access the NI-DAQmx programming examples for switches at <LabVIEW>\examples\DAQmx\Switches.

WAS THIS ARTICLE HELPFUL?

Not Helpful