To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI will delete all NI Switch Executive (NISE) Virtual Devices from the MAX database and can be used as a SubVI or LabVIEW step in a TestStand sequence.
Description
Utilizing the niseCFG Get Virtual Devices.vi and niseCFG Remove Virtual Devices.vi all existing virtual NI Switch Executive devices are programmatically removed. After finding all of the virtual devices, a property node is used pass the name of the devices to the niseCFG Remove Virtual Devices.vi so it can identify which devices to remove. Finally, the NI Switch Executive configuration is saved by wiring a true constant to the Save Configuration input of the niseCFG Close Configuration.vi.
Requirements
Software
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**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.