04-02-2014 02:58 AM
Hi Manu
Error is in
Gamma Actor -> Task 2.vi
You use the Read Self Enquerer as an address for you message.
But you message is defined as a message for the Actor Test Class
So you get to send the message to your self but you (Gamma Class) don't know how to handle it.
Instead you should send the message to the Actor Test. If you look at the Task VI in Alpha and Beta you will see they use the "Real Caller Enqueuer.vi" instead of the "Read Self Enqueuer.vi" that you use. This means that they will send the message to their caller which is the Actor Test.
Best Regards
Anders Rohde | CLD | Platinum Applications Engineer | National Instruments Denmark
04-02-2014 07:26 AM
Excellent debugging Rohde. Solved the issue. Attaching the solved code here.
04-02-2014 09:24 AM
Looks good.
I would though encorruge you to look at the do functions in your Actor Framework
This is the do function of you Gamma Class
This is how the original do function from the message maker should look like.
Try notecing the difference.
First we try to make our general actor into a specific actor (but we don't use the result). Only if it succedes then we do the actual conversion, if it doesn't succeed we don't do it.
There is a purpose because we don't create an extra copy if we can't convert it
In your implementation you have both conversions but you only use one of them. You can choose to delete one of them but then you will have the extra copy in case of an error.
Do you script you messages with the Actor Framework Message Maker ? (Found under Tools --> Actor Framework Message Maker in LabVIEW). That one will script the right interface for you automatically. It is a really smart tool.
Best Regards
Anders
04-02-2014 09:43 AM
Hi Anders,
Thanks for your detailed suggestion. I use the actor framewrok script function and that particular send function was created by script function.
Regards,
Manu
04-03-2014 08:07 AM
Hmm, that's weird.
It should look like the screenshot I sent you.
Do you have more than one computer showing this behavior? Maybe you change in the source file that the AF use to script the behavior from.
Br,
Anders
04-03-2014 09:10 AM
I will have a look at that from another PC.