02-22-2013 11:58 AM
It would be appreciated if someone from NI could generate an Actor Framework.lvlibp in LabVIEW 2012. I seem to be hitting a brick wall with this due to some issues with the AppBuilder.
02-26-2013 12:25 PM
You're going to have to escalate that through AE channels. I'm completely swamped at the moment and am about to be gone from the office for most of March and April.
03-02-2013 02:52 PM
There is a known issue with LabVIEW that will not allow the shipped version of the Actor Framework to be built into a packed project library.
366921 Return | Community scoped VIs within classes in a LabVIEW library will break a packed project library and cause Error 3 N/A Workaround: N/A
|
It is possible to build the Actor Framework into a packed project library after changing all community scoped VIs to public. However, I'm not sure this is an acceptable workaround. It would be really nice if this could be fixed in 2013
03-02-2013 03:09 PM
I'm not sure if it's related, but you can't dynamically launch a friend's community scoped methods. This is a deliberate design decision, but perhaps might be reconsidered since it might be related to this Actor Framework issue.
03-18-2013 05:26 PM
I found yet another issue building the Actor Framework 4.1 into a packed project library. Apparently something mangles the strictly typed VI reference in the packed library. See the attached image.
03-19-2013 09:09 AM
JackDunaway wrote:
I'm not sure if it's related, but you can't dynamically launch a friend's community scoped methods. This is a deliberate design decision, but perhaps might be reconsidered since it might be related to this Actor Framework issue.
Jack, thanks for the information. I don't see your issue occuring in the Actor Framework, so I don't think it is related.
07-29-2013 05:34 AM
Hi LVB,
Any advancements on building AF packed libraries? I am about to do it, but your (or anybody else's) experiences are important factors to me in determining the risks of this procedure .
07-29-2013 10:29 AM
komorbela wrote:
Hi LVB,
Any advancements on building AF packed libraries? I am about to do it, but your (or anybody else's) experiences are important factors to me in determining the risks of this procedure
.
I would not suggest AF packed libraries for production code. If you want to do some experimenting, it would probably be a good idea to create a different AF fork that is compatible with packed libraries.
At this point in time, modification of the Actor Framework 4.0 is required in order to build a packed library. Only the 4.0 will work after modification. 4.1 will not build into a packed library due to the VI reference issues detailed in post 24.
07-31-2013 05:26 AM
Thanks for the help, although suggesting to stay away from using packed project libraries only inspired me . And finally, I made it
So, here are the steps to reproduce it:
- add all the AF related, but not already in the library files, classes to your own copy to the Actor Framework.lvlib (I added all of these, but you can spare if you don't use some of them: Time-Delayed Send Message, Batch Msg, Reply Msg, Self-Adressed Msg)
- I had to change all inlined VIs to non-inlined
- change all community scoped VIs to public
- modify Launch Actor.vi and cut out a part into a SubVI to get rid of the problem detailed in: post 24.
Here is the modified Launch Actor.vi:
and the SubVI of it:
So creating a packed library after these modifications seemed to be successful, at least on my PC.
In case someone needs it I can also share the modified lvlib.
By the way these images are snippets, so if you click on these and save the full sized images, than those can be used as snippets(for example drag n' dropped to an empty block diagram).
Message was edited by: komorbela
08-14-2013 03:17 AM
I tried to make a packed project library (PPL) of AF in LabVIEW 2013 also, and I noticed some very positive changes!
Inlined VIs no longer cause a problem, they are automatically changed to non-inlined for the PPL. Also had no problem with community VIs. Not visible in the PPL, just like the private VIs, so I don't know but guess that those are handled correctly as community VIs.
So the recipe to make an AF PPLs became just 2 step:
- add all the AF related, but not already in the library files, classes to your own copy to the Actor Framework.lvlib (I added all of these, but you can spare if you don't use some of them: Time-Delayed Send Message, Batch Msg, Reply Msg, Self-Addressed Msg)
- I had to change all inlined VIs to non-inlined
- change all community scoped VIs to public
- modify Launch Actor.vi and cut out a part into a SubVI to get rid of the problem detailed in: post 24.
To give some more help I attach the project that I use to build the PPL.