Hello,
I'm starting to use the actor framework for a large application. I am wondering if there is a way to auto generate a new Actor?
I understand I can auto generate messages for an actor using Tools -> Actor Framework Message Maker...
I make an Actor by making a new Labview class say:
Test Actor.lvclass
Then set the inheritance of this class to Actor.lvclass
Make the Actor Core.vi Method
Make a Write waveform method
Set the scope of Actor core to protected, and other methods to public (just like the Simple Actor example) and make actor core reentrant
I am making the structure EXACTLY like the Simple Actor example, but I get the following errors in my new Actor Core.vi:
"This VI doesn't match other VIs in the method, Connector Pane Terminal(s) are different. All VIs that implement a method of a LabVIEW class must match Connector Panes. To correct this, compare Connector Pane of both this VI and the VI of an ancestor class that implements this method."
and
"The owning VI is not a dynamic member VI of a LabVIEW class. The Call Parent Method node should only be used in a dynamic member VI of a LabVIEW class."
I tried to read into this message, but it appears my connector pane is the name. I'm not sure whats going on.
(1) Can someone show me what I am doing wrong here?
(2) Is there a way to auto generate the Actor?
Every time I try to construct an actor from scratch I get the above errors. I have attached my project (LV2012).
Any help is greatly appreciated!