12-03-2015 03:32 AM
Hello everyone, I was thinking about how could it be done to automate the generation of a Actor Framework based projects. We have the tools to create actors and messages for them but they are manual. It's quite difficult to do all of this in a programmatic way. Is anyone of you working on an API that would allow to programmatically add new messages to an actor and to create new actors?
Is there even a need for this? Would you benefit from an API for Actor Framework programmatic creation of projects?
12-03-2015 09:24 AM
The low-level functionality is all there, obviously, since the right-click menus on the projects are all written in G.
The high-level functionality obviously exists because the G code exists.
But I do not think we've ever taken the time to explicitly make sure the API used by the menus is in a form that is callable outside of the menus. That would've been a good idea. Do you have a time machine to suggest that three years ago? 🙂
Ok... not helpful, I know. Mostly just kicking myself for not asking that question.
Still, if you go into the provider VIs for the actor framework, take a look around... you might find that there is a good entry point. niACS is the expert here. And if there isn't a good entry point, you should be able to copy/paste out the code into useful subVIs.
12-03-2015 05:53 PM