08-04-2018 07:06 PM
I have an actor "template" that I would like to copy, it is a library that contains the messages, the actor itself, and a few bits of non-actor VIs. When I use Save As on the library to duplicate the library, update names to reflect the new names, etc. eventually I end up with error 1556...the description from this thread is bang on, but I didn't see a resolution there:
This happens even when sending an actor its own stop message.
Ideas?
Solved! Go to Solution.
08-05-2018 09:35 AM
I realized I didn't put any helpful details here...the full error text is:
Error 1556 occurred at In Place Element Structure in Actor Framework.lvlib:Message Priority Queue.lvclass:Priority Enqueue.vi:2960001->Actor Library.lvlib:Actor Test.vi
The post I mentioned earlier refers to a queue being disposed of, but this actor should be identical to the actor I Saved As from, which works. Is a reference to an Actor Framework.lvlib file broken perhaps?
08-06-2018 01:03 AM
As mentioned in the referenced thread, you usually receive this error, when sending a message to an Actor, which has already (been) stopped.
A rough guess, what has happend: when establishing the new Actor from your template, some library relations have gone bad.This could lead to messages not being recognized by the receiving Actor which then is shut down, if not implemented to handle unknown messages "graciously". The error, you are seeing would be just a consequence
Just a guess, without real research. You might want to check the object hierarchy within and between the libraries.
I prefer to create copies of objects using the GOOP Toolkits clone function.
08-06-2018 07:41 AM
I think I found my mistake in how I was trying to call the nested actor as a root actor for testing. Strange that it only manifest itself after making certain changes to the front panel.
I've installed the NI GOOP toolkit and it looks quite useful. Thanks for the tip!