LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How To Connect Front Panel Shared Variables with newly imported Variables

Hi,

 

I have been using Labview for a few months now, mostly for creating user interfaces. My question regards the use of Shared Variables on the Front Panel. In the library of a LabView project i import a list of varibles, some from Step7, some declared by me. I then use these variables on the Front Panel in creating the user interface. Sometimes, the list of variables changes, so i must delete all the Shared Variables from my library and import them again.  The problem is that in order for the Front Panel Shared Variables to be functional again, i must select each and every one of them and go to Properties-> Data Binding -> and select the newly imported Variable from my list in the project library. For 60-70 Variables in 1 Front Panel and 4-5 vi's this is a bit too much for me.

 

My question is: is there a better / faster way of linking the Front Panel Shared Variables to the newly imported Varibles, or is there another way of doing this more easily / economically?

 

Thank you in advance,

Sabin

0 Kudos
Message 1 of 2
(2,300 Views)

Hi Sabin,

 

I see why deleting the list of network-shared variables from your project would "break" the controls on the front panel.  Instead of deleting your variables, is there a way for you to import just the new variables?

 

You can rename any variable and have no trouble with what control is linked with that variable, but when you start deleting variables, there's nothing for the control to remain binded to.

 

Kevin S.

Applications Engineer

National Instruments

 

 

0 Kudos
Message 2 of 2
(2,268 Views)