Jump to content

Launch a floating Windows Form


Recommended Posts

Hi,

So LabVIEW currently doesn't support WPF. But I have figured out a way to put a WPF on a .NET Form (sometimes referred to as a WinForm). Now I need to be able to launch the Form from labVIEW so that I can interact with it. It is the equivalent of launching a VI at runtime (using VI Server) and having two independent VIs running separately.

Anyone got any ideas? I think my main problem is that when I try to launch the Form with the Show method, it wants me to assign an owner application of the form. Thanks all.

Link to comment

Hi,

So LabVIEW currently doesn't support WPF. But I have figured out a way to put a WPF on a .NET Form (sometimes referred to as a WinForm). Now I need to be able to launch the Form from labVIEW so that I can interact with it. It is the equivalent of launching a VI at runtime (using VI Server) and having two independent VIs running separately.

Anyone got any ideas? I think my main problem is that when I try to launch the Form with the Show method, it wants me to assign an owner application of the form. Thanks all.

The owner "IWin32Window" is most probably the Window Handle of your calling VI. That would be my first guess...

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