LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
Galbrun

Automatically create new vi from selection

Status: Declined
Functionality already in LabVIEW

It would be very useful to have a way of automatically create subvis when a single vi become too large. What we usually do is :

1. Select the portion we want ton encapsulate in a new vi.

2. ctrl-X.

3. Create new VI, save as, chose name, change icon.

4. ctrl-V.

5. Connect the front panel.

6. Add the new vi to the original diagram.

7. Connect the new vi.

8. Debug mistakes.

 

I think steps 2 to 8 could be automated with a single function (e.g. 'transmute selected code into a single vi'), saving a little time many times.

5 Comments
Knight of NI
There already is. Select what you want and then select the Edit -> Create SubVI menu option.
Galbrun
Member

Hmm. Next question is : Why no one ever told me that ? :'(

 

Anyway, thank you for the tip, now I will try to find how to delete my message, and if I dont't find I will probably come back to suggest this new feature... 

AristosQueue (NI)
NI Employee (retired)

I've already asked a moderator to close this thread as "Already Implemented." 🙂

JackDunaway
Trusted Enthusiast

The term "Create SubVI" sounds too elementary. I propose we change the name to "Transmute Selected Code into Single VI."

 

Just joking, Galbrun. I made a similar "mistake" by requesting an idea that was already implemented.

Message Edited by mechelecengr on 08-19-2009 03:10 PM
G-Money
NI Employee (retired)
Status changed to: Declined
Functionality already in LabVIEW