|
|||||||||||||
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.
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.
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/Crea
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.
You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.
Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page