03-02-2006 11:11 AM
03-02-2006 01:06 PM
03-03-2006 01:45 AM
Hello;
At present, I am trying to experiment with parent / child window relationships. In my application I have several separate VIs, any of which may be open at any given time. The VI I am experimenting with, for example, is an 'About' screen which pops up with information about the program itself (i.e. when, what, who, etc.), similar to the 'About' screen in any Help menu. The parameters to which I have been assigned call for a parent window, or main GUI, with several sub-windows contained therein. I have used the Sub-Panel functions in LabVIEW 8.0 to dedicate regular VIs within the parent, however, there are some seldom-used VIs which will need to be used periodically as well; hence the dynamically calling the VIs. Most of this application was written with LabVIEW 6.1 (if that helps), and imported a week or so ago into LabVIEW 8.0.
Since the end application will require that several VIs be open at a single time, it seemed the best way to call each of them dynamically (when needed) and communicate between them via queues, which in and of itself seems to work quite well. I am not sure what advantages using VI server will give me, but I'll be sure to look into this also.
In the meantime, I have attached a second ZIP file, in which a working demo is contained. This demo also exhibits the 'refresh' issue (for lack of a better term). Is there something that can be done with this method, or do I need to rethink my approach?
DJH
03-03-2006 02:02 AM
03-03-2006 09:44 AM - edited 03-03-2006 09:44 AM
Message Edited by smercurio_fc on 03-03-2006 09:45 AM
03-07-2006 01:02 AM
03-07-2006 11:56 AM
03-09-2006 06:10 AM
Thanks; I looked at the VI and it operates a bit smoother (except now I periodically get the following error: "Error 1000 occurred at Invoke Node in Open About VI Reference.vi->Main.vi"), but the refresh issue is still a problem. Once again, if I minimise the window and restore it, it seems to clear up.
Since the USER32.DLL I am using is a Windows function and not written for LabVIEW, is there something available from LabVIEW that will allow me to do the same thing? Right now, I am using the SubPanel feature of LabVIEW 8.0 to display my sub-VIs, but there is only so much room on the screen. It would be really nice to get this feature working properly.
Any ideas?
Thanks.
DJH
03-09-2006 12:04 PM
03-09-2006 01:37 PM