LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to open a VI in edit mode, inside of another VI?

Solved!
Go to solution

I'm looking for a way to open a VI inside of my application in edit mode.

I've tried using the SubPanel for this, but it does not let you edit the Front Panel of the VI you opened and if you open the block diagram it pops out into an entirely new window. I just want to be able to essentially embed the editable VI inside of my application?

 

Anyone know of a way or any ideas?

 

Thanks!

0 Kudos
Message 1 of 5
(4,065 Views)
Inside of what application? To edit a VI you need the LabVIEW Development Environment - the Run-Time Engine doesn't let you edit VIs.
0 Kudos
Message 2 of 5
(4,055 Views)

Well the idea was to basically wrap a VI around the labview interface. So I could make changes to a VI that I have open in a subpanel while remaining inside my running VI. Essentially this can be done in part via the subpanel, because if the VI loaded in the subpanel is not running, it opens the block diagram in LabVIEW in edit mode, but it pops up in a separate window. You can make changes on the block diagram and save the VI, but the Front Panel cannot be modified since it is loaded in the subpanel.

 

This is more of an experimental question, or something that would be nice, but it would be nice if I could open a "command prompt" or mspaint or LabVIEW and display all of the windows inside my VI's Front Panel. (Obviously, you would have to have whatever program you are trying to run installed.)

 

I'm pretty sure it cannot be done, but it was worth asking.

0 Kudos
Message 3 of 5
(4,044 Views)
Solution
Accepted by topic author TimothyWright
Well, the Windows API has functions for setting the parent window for a window. An example can be found in this thread. I don't know if that will be enough for what you're trying to accomplish.
Message Edited by smercurio_fc on 05-05-2010 10:12 PM
Message 4 of 5
(4,031 Views)

I will have to play with this a bit to see if it can be useful for what I'm trying to do, but I think this is probably as close as it gets.

 

Thanks!

0 Kudos
Message 5 of 5
(3,994 Views)