03-16-2022 02:06 AM
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.
03-16-2022 03:34 AM
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.