LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Global variable ref generatning script

Solved!
Go to solution

Hi all!

I want to create a script for:
-create a new vi (its OK)

-create global variable reference for an exist vi-s global variable. - i need help with this.

 

I think i need to load the global_variables_vi to the new vi and check for variables and then create them.

pls help

Download All
0 Kudos
Message 1 of 4
(2,837 Views)
Solution
Accepted by topic author mogergog

Instead of specifying the style (Global Variable), specify the path to the globa. VI.

 

Create Global.png

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 2 of 4
(2,784 Views)

Thanks! Its working fine! 🙂 
One more problem:
I have more than one global variable. Can i select it by index or something?

0 Kudos
Message 3 of 4
(2,760 Views)

Ok founded.With Property Node and Control Name.

 

0 Kudos
Message 4 of 4
(2,750 Views)