Example Code

Make NI Switch Executive Configurations Easier

Code and Documents

Attachment

Overview

The provided code allows for the ability to programmatically create and modify NI Switch Executive configurations in MAX with ease.

Description

The provided code is a wrapper for the NI Switch Executive configuration VIs that improves the usability of the NI Switch Executive configuration API. This API allows users to quickly and easily create, modify, and delete NI Switch Executive Virtual Devices in LabVIEW.

Steps to Implement and Execute Code

  1. Download and Install VI Package Manager
  2. Download and Open the attached "EZ_Switch_Executive_Configuration-1.0.1.8.vip"
  3. Select LabVIEW version to install the VIs to in the top left corner.
  4. Click "Install".
  5. Click "Continue"
  6. Click "Finish"
  7. Close VI Package Manager.
  8. Open NI LabVIEW to view the VIs in the "User Libraries>>EZ Switch Executive Config" functions palette.
  9. Explore an Example or examine each VI with Context Help on the five main VIs [Open, Close, Add, Get and Modify].
  10. Drastically improve use with NI Switch Executive configurations!

Requirements to Run

Software

NI Switch Executive

LabVIEW 2009 or Later

VI Package Manager


Hardware

Any NI Switch Executive Device

Additional Images

Easily Create Sparse Matrix in NI Switch Executive

Create Sparse Matrix Example.PNG

Easily Expand Matrices in NI Switch Executive

Expand Matrix Example.PNG


Frank,
National Instruments
Software Group Manager

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors