01-16-2012 11:20 AM
Sometimes VI's can end up growing out of hand, and it is not so easy to re-organize sections of a VI into a separate VI.
It would be fantastic if there was a tool we could use to select a portion of our code inside of a VI (see Lasso tool in Photoshop or Free From Select in MSPaint), and have LabVIEW automatically move that code into a new VI with automatic assignment of inputs and outputs. All that code can then be replaced by a single VI.
This would make code organization so much faster and easier.
What do you think?
01-16-2012 11:24 AM
I think that it's a good idea and that it already exists - select the code and go to the Edit menu>>Create SubVI.
01-16-2012 11:24 AM
For the most part, it's already in LabVIEW. If you select code in your VI and go to Edit->Create SubVI, LabVIEW will take the slected code and create a subVI and automatically replace the selected code with the subVI.
The only thing it doesn't have is the lasso selection. You have rectangular selection and can keep addeding to the selecting using the SHIFT key.
You should post ideas to the Idea Exchange, too BTW.
01-16-2012 11:29 AM
Learn something new every day. Thanks I was not aware something like this was already in place! LabVIEW is fantastic, I am really enjoying using it.