04-02-2015 11:06 AM
Hi there,
I think I am pretty clear about how to use the Actor framwork's and I would like to have some guidance about how to use the framework in my project.
The attached VI is a very simplified version of the actual layout.
Basically, there is only one device performing different types of measurements, sending TX and receiving RX messages through CAN and LIN buses.
My development strategy is that I intend to create an actor for everything related to the hardware measurements that I consider as the measurement bench.
This hardware will have to perform some asynchronous operations and will eventually send some messages / commands to others actors.
Those commands will contain for instance, the stuff (value type of course, I'm not willing to have messages containing references) related to the information do display to the end-user in different VIs.
The other actors representing different VIs in some containers (mostly for user interactions) will send and receive commands to this actor.
In short, I was thinking about creating about 10 actors and more:
Also, in some Actor Framework related examples, I'm not really sure that creating a library for each actor is really necesserary, is it?
Thank you.
04-05-2015 02:06 AM
Hi,
In general your idea looks good to me. Some questions:
Why are VI ML, VI BRC, VI TM and VI TRC separate actors? Why not create a GUI actor that has a subpanel for VI1-4?
Do VI1-4 have to be open at once or is only one run at a time? are they known in advance?
About the library - I don't have the actor in a library unless I intend to create a packed library from it. I use virtual folders instead.
Good luck!
Danielle
04-06-2015 10:46 PM
Hi Danielle,
Thank you for your reply.
Hi Danielle,
- Thanks for your reply.
Why are VI ML, VI BRC, VI TM and VI TRC separate actors? Why not create a GUI actor that has a subpanel for VI1-4?
- We'd rather like having them separatly, mainly because they do have very different purposes.
VI ML's status is depends on VI BRC.
VI TM, VI TRC, VI BRC are independent.
Do VI1-4 have to be open at once or is only one run at a time? are they known in advance?
-Only one of among them is actually displayed but all of them must be loaded when the program is starting and yes they are know in advance (the updates are independent of selection in VI TM).
Thank you.
04-07-2015 04:55 AM
As you have a number of subpanel actors, take a look at Simon's Win8 UI Demo, he has a viewable actor there that could help you get started.
Good luck,
Danielle
04-09-2015 02:10 AM
Hi,
Thank you that is helpful.
-Amit