LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Load the front panel of nested Actor into Root Actor front panel

Hello,

 

i would like to load front panel of nested actor into root actor front panel, but not sure how to do this.

Can someone give directions?

 

Thanks.

0 Kudos
Message 1 of 2
(791 Views)

Presumably you want to use a subpanel. For this you need two things: the subpanel ref and the VI ref.

 

Decide whether you want to handle this in the root actor or the child actor and then pass the relevant reference using a message. Both ways have their merits and I would say it depends on the specific system you're building.

 

If it's in the root actor, send a message with the VI reference to the root (either initiated from the nested or as a reply to a request from the root) and then insert the VI.

If it's in the nested, just send it a message with the subpanel reference.


___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(771 Views)