03-02-2017 03:19 AM
Hi all,
I have an overriding method VI with one child VI. When the project is loaded the Parent VI and child VI are editable but after the first run of application the Parent VI is still in run mode(preventing editing) even after the application has finished its execution. When I try changing the VI to edit mode it shows the message "This VI is locked to prevent edits to its connector pane. One or more VIs that override this VI are currently running. Stop those VIs in order to unlock this VI" even though its over riding VIs are idle and editable. The execution property of the parent VI shows that the VI is in idle state. This happens only for a single VI in the entire class. Any idea on why this happens and why that VI is not returning to edit mode?
Thanks,
Ramya
03-02-2017 03:25 AM
Is that specific VI reentrant?
03-02-2017 03:26 AM
No. Its not.
03-02-2017 03:29 AM
Can you break down the issue to a small example with only a couple of VIs?
Just for clarification: The override VIs are non-reentrant as well?
03-02-2017 03:46 AM
OK. So consider a "Method.vi" in parent class and that is overriden by the Method.vi in child class. There is no problem in functioning of the VIs. But once the Main VI has stopped its execution, both the parent and child Method.vi are in idle state but only the child Method.vi is editable and Parent method.vi is not editable(i.e.)its locked. When I tried to change the VI ti edit mode it shows "This VI is locked to prevent edits to its connector pane. One or more VIs that override this VI are currently running. Stop those VIs in order to unlock this VI". This behaviour is really strange and I have no idea why this happens to that Vi in particular.
The override VIs are also non-reentrant
03-02-2017 03:50 AM
@Ramya12 wrote:
[...] This behaviour is really strange and I have no idea why this happens to that Vi in particular.
[...]
That is why i request a small example.
Is it possible that you are also using dynamic calls (like for instance the Actor Framework is using internally)?