Actor Framework Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Cluster of AF messages in VIP produce a void wire

In the library, I made a class whose private data contains the message objects - and an accessor that accepts a cluster to write all elements. The cluster makes it into the accessor ok, and the object makes it into the Create.vi - even if I typedef the cluster (which I didn't in this image):

cluster into accessor.png

0 Kudos
Message 11 of 15
(1,274 Views)

Hello Todd,

I opened the projects you posted on JKI, there was nothing wrong with them when I opened them. Is the wire Void for you?

Cluster with Class.PNG

Thanks,

Joel C

National Instruments

0 Kudos
Message 12 of 15
(1,274 Views)

Hello Todd,

When I open this in LabVIEW 2012 I get the following message.

dependency issue.PNG

It looks like you are referencing the Actor and Message objects from a user library that was not included in the project. Is this intentional? I do not get the Void wire when I load these classes from the default LabVIEW 2012 directory.

I do not currently have the AF for 2011 installed, but I supsect that might be part of it. It looks like this works properly in 2012. Do you have access to 2012?

Thanks,

Joel C

National Instruments

0 Kudos
Message 13 of 15
(1,274 Views)

Yes, that is the void wire, but only after installing the project - not when opening create.vi from the unzipped package file.

Since you don't have AF for 2011 (from here: https://decibel.ni.com/content/docs/DOC-23396), it makes sense that you didn't install the package.

I probably have 2012 around, but I resisted trying that since my customers already have a mix of apps from 2010 and 2011. (My internal "competitor" uses c# and .net, so their exes are tiny and don't even install.) Since AF is available for 2011, I thought it would be okay to stay with that. Guess I'll use the workaround.

0 Kudos
Message 14 of 15
(1,274 Views)

I did not include the 2011 AF in the project. VIPM allows one to create a dependency on another project (I have that in the real test project). With VIPM Pro, you can even include the depencencies in a vipc file. I don't have pro, though.

And while 2012 has AF in vi.lib, the 2011 AF package (and the updated and branched packages for 2011 and 2012) install into user.lib.

0 Kudos
Message 15 of 15
(1,274 Views)