05-31-2024 02:55 PM
Hello,
I have developed a multi-device DAQ program using the actor framework.
In one of my devices (actors), I use an XControl on the front panel.
I have a top-level actor which calls the nested device actors and summons their front panels.
I can use all devices with no issue, however, when I stop my program (and verify that all actor cores have stopped running), I try to unlock the Xcontrol library to edit my code.
However, the XControl refuses to unlock and claims that the device's actor core is still running, thus, I cannot unlock it.
I never start up that actor core, and can verify that it doesn't start.
Why does the Xcontrol think that it is running?
05-31-2024 05:18 PM
Try stepping through your code (or put breakpoints at various places) while monitoring the XControl so you can find out when it locks.
I hope you don't have any instances of class objects in your XControl (that can lead to lockouts that can only be resolved by killing LV).