To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This code uses NI-SWITCH VIs to establish an explicit path connection from one column to another in an NI SwitchBlock device.
Description
The VI first initializes your NI SwitchBlock device and configures it for the topology you specify. It then makes the connections that you define in the connections list on the front panel. After waiting for the switch to close, the VI terminates the NI-SWITCH session and handles any errors.
Refer to the NI Switches Getting Started Guide and NI Switches Help for valid channel names and information about connecting signals to your switch module.
Requirements
Software
LabVIEW 2012(or compatible)
NI-SWITCH 4.6 (or compatible)
Hardware
NI SwitchBlock
Steps to Implement or Execute Code
1. Select your NI SwitchBlock device name and 'Configured Topology'
2. Select the connections that you want to make between your devices
3. Run the VI. The connections specified in your list will be made
Additional Information or References
Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.