Example Code

Create a Hidden Debug Tool in 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

 

LabVIEW contains a wide variety of debugging tools (probes, highlighting execution, single-stepping), but sometimes it's useful to place an indicator on the front panel to debug a program. However, the user may not want to see the indicator all the time. This VI shows how a user can use visability properties to toggle whether or not an indicator is shown rather than deleting and replacing the indicator when debugging.

 

Description

This VI demonstrates the ability to "hide" a debugging object in your application.  By pressing the "down" arrow key you can toggle the visibility of a set of waveform charts that records the mean and standard deviation of a set of data from an express VI. 

 

Requirements

Software

  • LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

1.Run the VI

2.Press the down key to toggle the debug window visibility.

 

Additional Information or References

 201707313.png

 

 

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

 

Rick C.

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