LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OO control of sub class front panel controls

I'm just working on an application that consists of a top level class that spawns 2 Daemons that inherit from the top level class.
 
My problem is that I want to kill the daemons from the top level, and previously I've done this (not using LVOOP) by having a stop button on the front panels of the daemons and dynamically setting these to '1' using invoke nodes, however in my current app this isn't working - the child isn't lettting the parent press its buttons and all I kind think of is that is the contraints of LVOOP that are causing this.
 
Any thoughts or help very gratefully appreciated,
 
 

Message Edited by davidpcl on 12-12-2006 12:11 PM

Message Edited by davidpcl on 12-12-2006 12:13 PM

David Clark
CLA | CTA
Genesee Technologies Ltd
Hampshire, England
0 Kudos
Message 1 of 3
(2,690 Views)
Hi David,

I'm not quite sure what you mean. Could you post your project so I could have a look at it? You can create a zip file of the project from the Build Specifications.

Regards

Jon B
Applications Engineer
NI UK & Ireland
0 Kudos
Message 2 of 3
(2,654 Views)

Hi John - I managed to resolve the problem - turned to be a case statement using a default ref value which should have been wired - schoolboy error really but as I'm fairly in-experienced with classes in LabVIEW my first thought was that it might that the class framework was not allowing a parent class access to controls of the front panel of a child class, but have found that is not the case which is consistent to my understanding of how the relationship should work.

I'm really enjoying the class features of 8.20 - has really enhanced LabVIEW a huge amount in my opinion - the only thing I'm worried about si what the sort of overhead the class functionality places on apps - I'm working in an environment where speed is everything - maybe I'll do a post about it or ask someone from NI Newbury about it.

Thanks for your response,

David Clark
CLA | CTA
Genesee Technologies Ltd
Hampshire, England
0 Kudos
Message 3 of 3
(2,647 Views)