How Can I Make a Local Variable Without an Indicator?

Updated May 21, 2019

Reported In


  • LabVIEW

Issue Details

I want an invisible variable in my LabVIEW program. However, I do not want an indicator or control for it on my front panel.


The best method to make a local variable without an indicator is to use shift registers in your while loop. You can initialize the shift register to 0 at the start of your program and modify it as you need within the program. 

To learn more about how to use shift registers, please see the Iterative Data Transfer Section on the following link:
Tutorial: Timing, Shift Registers, and Case Structures

Another option would be to make an indicator that you would like to use as a variable. Using the "Visible" property node, you can make this indicator invisible in the front panel but still use it in the block diagram. To make an indicator invisible:
  1. Create a Visible property node by right-clicking the indicator and navigating to Create » Property Node » Visible. 
  2. Place this node in your block diagram. Wire a False constant to make the indicator invisible.