LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to edit an objects propertys from another VI

Solved!
Go to solution

Hi, I am running my main vi. I have a preferences.vi window that opens.

The preferenecs.vi opens using an invoke node.

the preferences.vi needs to be able to fill up the menu items for a Ring control that lives in the main.vi

Normally I would you a property node, but as this object is in a different vi how do I communicate with it.

I realise that a global variable only seems to be able to pass values between object, and not change the behavoiur of objects.

Can any one help please!

 

Many thanks, Alec

0 Kudos
Message 1 of 3
(2,543 Views)

Alec

 

Right-click on the Ring control on the main.vi Fp and create a reference.  Pass this reference to the preferences.vi.  Use property nodes to set the attributes of the Ring.ctl on the main.vi

Visualize the Solution

CLA

LabVIEW, LabVIEW FPGA
Message 2 of 3
(2,530 Views)
Solution
Accepted by topic author alecjcook
It should look like this.
Tim
GHSP
Download All
Message 3 of 3
(2,527 Views)