klove Posted January 14, 2005 Report Posted January 14, 2005 Is it possible to create (or simulate) an MDI in LabView? I would like to have a parent VI that handles common chores and some number of identical child forms for simultaneously testing multiple DUT's. I have done this previously in VB and it was a very effective interface solution. I would like to duplicate it in labview. Any ideas on setting up this front panel architecture would be appreciated. Kirk Quote
i2dx Posted January 16, 2005 Report Posted January 16, 2005 Is it possible to create (or simulate) an MDI in LabView? I would like to have a parent VI that handles common chores and some number of identical child forms for simultaneously testing multiple DUT's.I have done this previously in VB and it was a very effective interface solution. I would like to duplicate it in labview. Any ideas on setting up this front panel architecture would be appreciated. Kirk 3531[/snapback] maybe its possible, if you use subpanels, but it will never be se same like in VB, and it will be verry diffucult, because you have no framework like in Visual Studio, but have to develop it all on your own .... best regards, cb Quote
Jimmy-Chen Posted January 17, 2005 Report Posted January 17, 2005 Is it possible to create (or simulate) an MDI in LabView? Quote
Michael Aivaliotis Posted January 17, 2005 Report Posted January 17, 2005 Yes, Child windows are possible using Windows API calls. I've attached a Vi that does this. Download File:post-2-1106002183.viLV6.0 It was written in LV 6.1. I noticed you are using LV6.0 so I did a save with options to V6.0. I can't test it on that version so let me know if it doesn't work. Quote
Mike Ashe Posted January 20, 2005 Report Posted January 20, 2005 Although Child Windows are nice for some applications, and you can use the technique Michael Aivaliotis posted, might I suggest that you make your general interface like a Toolbar/Sidebar and then use VIServer and instantiations of GUI templates for your individual documents? This gives you a more flexible interface at the cost of a little more UI management code. It also has the advantage of being 100% G code and is therefore platform independent Quote
crelf Posted May 3, 2008 Report Posted May 3, 2008 QUOTE (Michael_Aivaliotis @ Jan 17 2005, 06:51 PM) Yes, Child windows are possible using Windows API calls. So I know how to set a window as a child, but then how do I release the child/parent relationship so it becomes it's own window again? Quote
Yair Posted May 4, 2008 Report Posted May 4, 2008 QUOTE (crelf @ May 2 2008, 11:12 PM) So I know how to set a window as a child, but then how do I release the child/parent relationship so it becomes it's own window again? I think you need to set the desktop window as the parent. I'm not sure, but I think this can be done by using a null hWnd, but if not, you can just get the handle to the desktop. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.