maziyar mahmoodi Posted August 15, 2013 Report Share Posted August 15, 2013 Hi all, I have a VI, which includs some other sub VIs.Iwant to make it as a single vi . how should I do that? Quote Link to comment
hooovahh Posted August 15, 2013 Report Share Posted August 15, 2013 Why? If I have a C++ project with 100 text files can I combine them into one monolithic text file? Sure, but now that one file is very hard to manage, and edit. It can be done and in previous versions of LabVIEW there was an INI key that would allow you to right click a sub VI and choose "Inline" which is different from the execution inline. This inline would replace the subVI with the code from the subVI. This turned the code into very hard to understand code because it would just programatically plop down the code. But really why do this? If you really want one file create a source distribution, maybe an LLB with a top level VI. Or just zip the code, that's usually what you see on the forums when people have multiple files that go together. Quote Link to comment
LogMAN Posted August 15, 2013 Report Share Posted August 15, 2013 I absolutely support the considerations of the previous post, so please don't oversize your main VI if it is not absolutely necessary (It never is...). There must be a good reason for programming the SubVIs in the first place. Anyways here is a link to a RCF plugin that should do the trick: Expand SubVI I never used it and I have no advice for installing the RCF. Quote Link to comment
hooovahh Posted August 15, 2013 Report Share Posted August 15, 2013 Okay it's morning and I have a few more links. Inlining INI key http://zone.ni.com/devzone/cda/pub/p/id/347#toc2 Thread discussing it and code http://forums.ni.com/t5/LabVIEW/Dr-Damien-s-Development-Improve-Load-Time-with-Inlining/m-p/823418 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.