todd Posted September 24, 2012 Report Share Posted September 24, 2012 I have a reusable library for serial devices (I know, who doesn't?) that is being converted to the Actor Framework (yes, there is a good reason). This one has a "<company>_Transport.lvlib:Create.vi". The descriptor is a type-def cluster of: Transport Type enum, VISA resource name, ... and three children of "Actor Framework.lvlib:Message.lvclass". After building the package, when I place Create.vi, the cluster wire is void. It doesn't matter if I use a non-type-defd cluster, or if the parent Message.lvclass is used instead of the children. If I wire the classes in separately (not in a cluster), everything is fine - but the next package on the list has a lot more messages to include. Any advice is welcome. Cross-posted to AF community: https://decibel.ni.com/content/thread/15047 Link to comment Share on other sites More sharing options...
todd Posted September 26, 2012 Author Report Share Posted September 26, 2012 Smallest example project attached. AF Package Test.zip Link to comment Share on other sites More sharing options...
todd Posted October 3, 2012 Author Report Share Posted October 3, 2012 The workaround is to write the type-defd cluster into the private data (which I leave non-type-defd) of a class dedicated to that use. NI suggested trying LabVIEW 2012 - haven't had a chance to try that, yet. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.