LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Subpanel problem & memory leak in Labview 8.0

Hi,

I just installed Labview 8.0 Evaluation package yesterday. I tried to code a user interface class using dqGOOP object oriented package. It seems that LV 8 behaves differently from LV 7.1 which is good. One can use same subvivi in multiple subpanels. I however run into problems with this new feature i.e. I cannot edit the subvi after it has been placed on two subpanels. Editing is possible after LV 8 restart.

In my code I create two similar object instances from the panel class. I have a class method panel_run which puts itself on the subpanel defined by refence. I have two subpanels on the main vi, one for each of my panel_run instances. I do not stop the panel_run instances cleanly, instead I use the Labview stop button to stop the execution. Once the main vi has runned, the panel_run subvi cannot be edited any more. When one opens the panel_run subvi, a clone of the subvi is always opened instead. One cannot modify the clone. After a few runs, I also got a memory segmentation fault from labview, which then crashed. I was unable to repeat the crash.

I attached the code. Use panel_test.vi to start the program. Is there any way to get around this problem of not being able to access a subvi after it has been placed on a subpanel?

Regards,

Tomi

p.s. Sorry for the wrong category. This is Labview 8.0 problem. There was not however a category for labview 8, so I selected Labview 7.1.
--
Tomi Maila
0 Kudos
Message 1 of 2
(2,805 Views)
Open your panel_run VI --> you get a clone
Press CTRL+M --> Will open your VI (Not the Clone)
Close the Clone and work on the VI.

PJM


  


vipm.io | jki.net

0 Kudos
Message 2 of 2
(2,783 Views)