LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug with XControl and Actor Framework

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?

 

 

0 Kudos
Message 1 of 2
(1,392 Views)

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).

0 Kudos
Message 2 of 2
(1,370 Views)