LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview AF subpanel

Hello I want to develop a project with AF framework. It has an interface which sepreated into 4 Sub_Panels. I want to create 4 actors with front_Panel in actor core.vi dependence and bond them to Sub_Panels. How can I bond Actors to Sub_Panels?
0 Kudos
Message 1 of 5
(3,229 Views)

Hello Sailfish

 

As AF are base on OOP. In order to bound a sub panel to one actor (lvclass), the .ctl of the class should at least contain the refnum of a subpanel.

The methods used in each class will targeted the subpanel you "passing throught" your refnum.

 

Best regards. 

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
0 Kudos
Message 2 of 5
(3,195 Views)
Hello Sabri.jatlaoui: Thanks for your answer. Using a refnum is a good way to bound an actor to a Sub_panel. But what I want to bound an actor to a Sub_Panel is to display the actor core.vi front_panel in the sub_panel. As you see, to show a VI’s front_panel in Sub_Panel it will open and run a VI and then pass the VI’s refnum to Sub_Panel’s method (Insert VI). In AF, an actor’s actor core.vi is called defaultly in launch actor.vi . Can I open the actor core.vi and pass it’s refnum to Sub_Panel’s Insert VI method without running it in Pre_lauch.vi
0 Kudos
Message 3 of 5
(3,154 Views)

There is a demo project called the "Feedback Evaporative Cooler". It uses Actor Framework and two swapable subpannels.

 

You can get to it from File >> Create Project

0 Kudos
Message 4 of 5
(3,131 Views)
That is great. Thanks
0 Kudos
Message 5 of 5
(3,100 Views)