NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Announcements
The NI Idea Exchange is a product feedback forum where NI R&D and users work together to submit ideas, collaborate on their development, and vote for the ones they like best. View all of the NI Idea Exchanges to post an idea or add your opinion on an existing one today!
LabBEAN

Edit >> Create SubVI: Tweaks

Status: Declined
by Active Participant LabBEAN on ‎07-03-2009 12:47 PM

Edit >> Create SubVI:  I almost never use this function... but it could be so nice!

Imagine being able to develop code on some diagram, check functionality in line, and quickly generate a subVI.  We're so close with "Create SubVI", but in 7+ years, I've never really used it.

 

Suggested Tweaks:


1) Use default connector pane (12 terminals)
2) If there are error clusters, wire them to the bottom terminals.
3) If there are error clusters, auto create a case structure and put the code in the No Error case.  Wire the error cluster through the Error case.
4) If there are in and out references (e.g. File In, File Out), wire these to the top terminals.
5) Run Clean Up Diagram.

Status: Declined
Functionality available in LabVIEW 2011.
Comments
by Member Nemo on ‎03-17-2010 10:34 AM

There are a couple of entries for this idea.  I hope NI is combining the votes for this idea(s).

 

I'm torn as to whether to create a new idea, but I will instead post this in the 3 Create VI Ideas that I found. 

 

I'd like to add a few more more feature to this idea.  

 

1)

When creating a subVI, it should ALWAYS have the option to add Error In and Out to the connector pane, even if the code does not have error handling implemented (e.g. math operations).  If the Error In/Out already exist, then it uses these.  If not, create them.   

 

2) 

This is harder due to all the options, therefore I have an additional suggestion. This problem has already been solved .... conceptionally.  If you have every used the DLL Wizard that writes wrappers around DLL function calls, you will see that

a) it prompts you on how to handle errors,

b) it makes its 'best guess' at how to wrap the function call, and allows you to modify the 'best guess'.

c) it always has error in/out in the bottom corners

d) it allows you to choose a icon template for the wrapper. 

 

The solution for creating a subVI should be similar and might be able to reuse the framework from the DLL Wizard.

by Active Participant G-Money on ‎03-14-2011 02:07 PM

You might want to reword your title and main body to show just the ideas that are different from the other idea (http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Create-a-proper-connector-pane-when-doing-Edit-gt-Crea...). From what I see you would like to see some VI Scripting come into play with Edit>>Create SubVI where it would immediately add a Error/No Error Case Structure around the subVI and run Cleanup Block Diagram. The new changes with Edit>>Create subVI in the LV 2011 Beta are really nice thanks to your and tst feedback on that. If you could make those changes so that people know that this idea is different than what is already being worked on, I would appreciate it. Thanks!

by Active Participant G-Money on ‎01-04-2012 05:17 PM
Status changed to: Declined
Functionality available in LabVIEW 2011.
by Active Participant G-Money on ‎01-04-2012 05:19 PM

The reason why this idea is Declined instead of Completed is that Completed ideas indicate that R&D was inspired by the idea to create the feature. This feature was completed witht the launch of LabVIEW 2011 but not specifically because of this idea. I think that the functionality asked for is completed though.

Latest LabVIEW Idea Exchange Blog Posts
About LabVIEW Idea Exchange

Have a LabVIEW Idea?

  1. Browse by label or search in the LabVIEW Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see in a future version of LabVIEW!
Idea Statuses
Top Kudoed Authors
User Kudos Count
137
86
71
67
61
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page