Actor Framework Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

When to call Initialise; Helper Loops

Solved!
Go to solution

I spent some time yesterday trying out my solution; I thought I could basically cram everything into the PLI. It took me about 30 minutes of confusion looking at a handing Launch Nested Actor to realise that I couldn't launch actors in PLI! My solution in the end is to split out the Initialise Control/Display functionality from the Connect to Hardware functionality. The latter can go into the PLI and the former can go into the AC of the Parent.

 

Thanks for the note about Panel Actors, I had not seen these when I built my Subpanel Actors, and decided not to refactor when I found them because I was happy at the time. I might take another look at these.

 

I do have separate actors for Control and Display, I was trying to follow model-view-controller. These actors talk to the Digitiser Actor which holds all the communication methods. I like how AF make it easy to build the messaging methods between these three elements.

CLA - Kudos is how we show our appreciation for comments that helped us!
0 Kudos
Message 11 of 11
(438 Views)