From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-11-2013 05:47 AM
Hi
Where can i se the version of Actor Framework that I have on my PC?
regards Bjarne
Solved! Go to Solution.
03-11-2013 05:52 PM
2012 shipped with 4.0. Other 4.x versions are installed to vi.lib whereas older versions are installed to user.lib.
I assume you might be able to see the actual version if you go into the properties of the actor class, but I haven't checked.
03-12-2013 03:14 AM
Hi Bjarne.
If you are using LabVIEW2012, the Actor Framework is located at:
C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\ActorFramework
For LabVIEW2011, you will find it in user.lib.
If you open the lvlib and go to properties you should be able to see the version:
If you have installed the framework using VI Package Manager you can see the version here as well:
03-12-2013 12:28 PM
Thanks
/Bjarne
03-27-2014 05:42 PM
Hi,
I modified the actor framework shipped example with LV2013 to add one more actor calles "Gamma", which is planned to function exactly like Alpha actor by using the time delayed send message.Unfortunately, I am getting an error regarding type casting(attached error message). I am attaching the code which is a modified example to incorporate the third "gamma" actor.
I would really appreciate if any of you could provide me help in finding the issue.
Regards,
Manu
03-31-2014 10:29 AM
Added another code which duplicates the same functionality of Alpha actor. Unfortunately its producing error.
04-01-2014 02:38 AM - edited 04-01-2014 02:54 AM
Hi Manu
First I will really encourage you to post you questions in a new thread. By doing that you will post your question to the hole forum and not only to the few people that actually attended here. Very few people will monitor the post when it is marked as resolved.
As for you question I looked over you code. Seems like you get your issue here:
In Gamma Actor -> Messages for Gamma -> Do.vi
You convert you Gamma Actor to a Type of Beta. Where you should have converted it to type Gamma.
If you look at the do message for alpha and beta that should show you how it is done correctly.
It could also be that you think Gamma Actor is a child of Beta actor and you therefor would like to convert it to the Type of Beta Actor (which is allowed), if this is what you want then the inheritance hirachi should state that Gamma Actor inherits from Beta Actor and not from Actor.
Both things could be valid depending on what you actually want. Right now you are trying to convert a car to a banana and that is what LabVIEW tells you is wrong.
Best Regards
Anders Rohde | CLD | Platinum Applications Engineer | National Instruments Denmark
04-01-2014 07:43 AM
Thanks Rohde. Attaching the new code where the issue is fixed.
04-01-2014 10:45 AM
Hi Manucla
Thanks for posting the code, looks good.
Good luck with starting to learn the Actor Framework. 🙂
04-01-2014 12:11 PM
Any idea why I get type casting error now?