User | Kudos |
---|---|
4 | |
4 | |
4 | |
2 | |
2 |
If you need to call a subVI millions of times the overhead associated with calling the VI will add up and cause your code to slow down significantly. So - you want to get rid of the overhead...but if you do this by putting all the code in the same VI that VI will look very messy...Well - I want to have my cake and eat it too.
As people may know you can get an "Inline SubVI" option in your right-click menu if you add the key inlineSubVIEnabled=TRUE in LabVIEW.ini. This if fine and should be made visible by default, however the way it is done is simply by extracting the code of the subVI and putting it onto the diagram of the caller...which typically leaves you with a big mess.
So - instead of graphically putting the code on the same diagram, the inline option should just mark the subVI - you could get a little glyph on it that tells you that it has been inlined. You as the programmer do not need to be bothered with the fact that when the code is linked and compiled the code in that subVI will be inlined into that caller.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.