04-25-2017 02:37 PM
LV2016, using the new "Launch Root Actor". I'm getting an error 1003 when first launching my root actor core. I'm guessing it's not getting past opening the VI.
Error 1003 occurred at Open VI Reference in Actor Framework.lvlib:Actor.lvclass:Launch Actor Core.vi->Actor Framework.lvlib:Actor.lvclass:Launch Root Actor.vi->Generator Interface.lvlib:Generator Interface.lvclass:Load App.vi
Possible reason(s):
LabVIEW: The VI is not executable. This error may occur because the VI is either broken or contains a subVI that LabVIEW cannot locate. Select File>>Open to open the VI and verify that you can run it.
VI Name: Actor Framework.lvlib:Actor.lvclass:Actor.vi
Now here is what is confusing me. I've literally opened every single VI in the entire project. Nothing is broken, including the two nested actors. No errors are showing in error list window while the root's actor core is open.
I've made this as a progressive learning experience into actor. I had the root actor as well as the first nested actor (serial port handling) working. I finally coded the second nested actor (parser) and was integrating it when this went haywire. The root, at the moment, is just a minimal debugging interface.
Are there any possible places I've neglected to look?
(sorry, I'm avoiding posting the code because I wouldn't expect someone to debug an alien actor architecture with 138 files built by a beginner)
Solved! Go to Solution.
04-26-2017 01:29 AM
Hi Josh,
had the same issue two days ago when moving to a new computer. It turned out, the child actor was missing a dependency. (OpenG Toolkti was missing). Calling the parent methods from TestStand did of course show no broken VIs.
I'd suggest mass compiling the directory/ library of the child actor to check.
Regards
Oli
04-26-2017 07:09 AM
@Oli_Wachno wrote:
I'd suggest mass compiling the directory/ library of the child actor to check.
Thanks for the suggestion (I forgot about Mass Compile, haven't needed to).
A mass compile actually showed no errors and I'm still seeing the error 1003. Tried it from the top level directory and with the project both open and closed. Even tried a force recompile of the actor cores which I was unaware of as a feature.
I do have a question about root actors and children. When a root actor is loaded into memory due to the launch root, do the children actor cores get loaded due to the class constants, or does it wait until the launch nested?
04-26-2017 08:29 AM - edited 04-26-2017 10:11 AM
@JW-JnJ wrote:
I do have a question about root actors and children. When a root actor is loaded into memory due to the launch root, do the children actor cores get loaded due to the class constants, or does it wait until the launch nested?
Gets loaded with the class constant.
Is your code working again if you remove the second nested Actor?
04-26-2017 10:46 AM
@Oli_Wachno wrote:
@JW-JnJ wrote:
I do have a question about root actors and children. When a root actor is loaded into memory due to the launch root, do the children actor cores get loaded due to the class constants, or does it wait until the launch nested?
Gets loaded with the class constant.
Is your code working again if you remove the second nested Actor?
Huh, I removed both nested actors/abstract messages/error handling from the root and it still errors without being actually broken. Odd
04-27-2017 12:40 AM
You are still working on the development enviroment, aren't you? No EXE, no PPL?
04-27-2017 07:07 AM
@Oli_Wachno wrote:
You are still working on the development enviroment, aren't you? No EXE, no PPL?
Yup, purely development now. Target will eventually be an EXE, but I'm a long ways away from that.
I completely rewrote the test root actor and attached the first child and it works. Working on the second. However, the original root was broken even when I removed the two nested actors, so I'm thinking I have a corrupted actor.... somehow?!?
04-27-2017 08:48 AM
I completely rewrote the test root actor and attached the first child and it works. Working on the second. However, the original root was broken even when I removed the two nested actors, so I'm thinking I have a corrupted actor.... somehow?!?
Generally speaking, a RootActor will break, if any of his children loaded into memory are broken. There are several scenarios: