Stagg54 Posted April 8, 2010 Report Share Posted April 8, 2010 When I create a new vi for my class using New-> New vi from Dynamic Dispatch Template or New vi from Static Dispatch Template, Autogrow is always enabled on the error case structure, even though my in LabVIEW options settings I disabled the place new structures with Autogrow enabled. This is in LV2009SP1. I haven't checked in other versions. Has anyone else run into this? Quote Link to comment
asbo Posted April 8, 2010 Report Share Posted April 8, 2010 From my understanding, the difference here is that you're pulling from a template, not dropping new components. If you can find where those templates are stashed on disk, you should be able to open them up, untick autogrow, and save them back. Thereafter, no more autogrow! Quote Link to comment
Grampa_of_Oliva_n_Eden Posted April 8, 2010 Report Share Posted April 8, 2010 From my understanding, the difference here is that you're pulling from a template, not dropping new components. If you can find where those templates are stashed on disk, you should be able to open them up, untick autogrow, and save them back. Thereafter, no more autogrow! After you find them write down where you found them becuase you will have to repat that operation when you upgrade to the next LV version (been there done that). Ben Quote Link to comment
Darren Posted April 8, 2010 Report Share Posted April 8, 2010 And if you've already created a bunch of VIs with Auto Grow enabled, you can run this utility to turn it off on all structures in all VIs in a given folder. Turn Off Auto Grow -D 1 Quote Link to comment
Stagg54 Posted April 8, 2010 Author Report Share Posted April 8, 2010 That makes sense. And thanks Darren. That tool will come in very handy. Quote Link to comment
Aristos Queue Posted April 8, 2010 Report Share Posted April 8, 2010 Alternatively, you could leave AutoGrow on and stop hiding stuff under the edges of your loops. (Joking, of course. Although I love the feature, I'm aware that not everyone does.) Quote Link to comment
Stagg54 Posted April 8, 2010 Author Report Share Posted April 8, 2010 Alternatively, you could leave AutoGrow on and stop hiding stuff under the edges of your loops. (Joking, of course. Although I love the feature, I'm aware that not everyone does.) If I remember correctly there is an ini token to show hidden objects. Quote Link to comment
EricLarsen Posted April 8, 2010 Report Share Posted April 8, 2010 I've written a plugin for the RCF that toggles the autogrow on all structrues or selected structures on a diagram. It also acts on structures within structures. If anyone interested I can post it to the code repository. Quote Link to comment
Stagg54 Posted April 9, 2010 Author Report Share Posted April 9, 2010 If you can find where those templates are stashed on disk, you should be able to open them up, untick autogrow, and save them back. Thereafter, no more autogrow! Now the real question is can anyone tell me where those templates are stored? I remember seeing that in a post before but I can't seem to find it now. Quote Link to comment
asbo Posted April 9, 2010 Report Share Posted April 9, 2010 Now the real question is can anyone tell me where those templates are stored? I remember seeing that in a post before but I can't seem to find it now. You might consider just pointing Darren's tool at your National Instruments directory. 1 Quote Link to comment
Darren Posted April 9, 2010 Report Share Posted April 9, 2010 Now the real question is can anyone tell me where those templates are stored? I remember seeing that in a post before but I can't seem to find it now. I think you're looking for [LabVIEW]\resource\Framework\Providers\LVClassLibrary\CLSUIP_MemberTemplate.vit. I changed the structure in there to not Auto Grow, and my new static/dynamic dispatch VIs no longer had Auto Grow set. -D 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.