Why Do I Lose Data When Switching Tabs in My LabVIEW Program?

Updated Oct 29, 2019

Reported In


  • LabVIEW

Issue Details

I am developping an application in which I use tabs or soft panels.
When I write a value in a control within a tab in a subVI , switch to another tab and then go back to the first one, the value I specified is lost: the value is now the default one.
What is causing this behavior?


Such behavior happens when the memory address in which the control value is stored is deallocated.
If the VI is called dynamically, make sure the reference is not closed before the end of the program.

Additional Information

This problem should not appear when doing a static call of the subVI.