Jump to content

Simulating MDI interface in Labview?


klove

Recommended Posts

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

Link to comment
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

Link to comment

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. :D

It also has the advantage of being 100% G code and is therefore platform independent :yes:

Link to comment
  • 3 years later...

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?

Link to comment

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.