ni.com is currently experiencing issues.

Support teams are actively working on the resolution.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reinitialize of global variables

Solved!
Go to solution

Hi all,

I am wondering is there any way to reinitialize all the data types to their defaults in a global variable at the same time in runtime(obviously without using constants)? I've got nothing and it makes no sense 🤔

 

 

 

My regards

Mahdi_Ataei
0 Kudos
Message 1 of 4
(3,318 Views)
Solution
Accepted by topic author Mahdi_Ataei

Open the Global.vi-ref and Invoke node.

Reinitialize global to default.png

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 2 of 4
(3,282 Views)

@Yamaeda wrote:

Open the Global.vi-ref and Invoke node.

Reinitialize global to default.png


You can also use a Static VI Reference to a global VI.

"If you weren't supposed to push it, it wouldn't be a button."
Message 3 of 4
(3,254 Views)

Yep, thanks 🙂

Mahdi_Ataei
0 Kudos
Message 4 of 4
(3,217 Views)