Example Code

Programmatically Enable/Disable Debugging Property for Entire Directory of VIs Using LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview
This VI will allow you to either turn on or off debugging for all of the VIs in an entire directory.


Description
Select the path of the vi which to be enable or disable. Select the path of the vi which to be enable or disable. The same method can be used to set other VI properties as well.

 


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  • Run this VI
  • Select the path of the VI to set.
  • Enable/disable the debug for an entire directory of VI.

 

Additional Information or References
VI Snippet

3-302.png

**This document has been updated to meet the current required format for the NI Code Exchange.**

Justin Parker
National Instruments
Product Support Engineer

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