rkesmodel Posted March 5, 2009 Report Share Posted March 5, 2009 I would like to be able to set up a default VI that would be AUTOMATICALLY used as a template for all new VIs, ESPECIALLY when I "Create SubVI" on the BD. The way AutoCAD used to do this comes to mind. I could create a drawing with all of my usual default choices and save it as "acad.dwg" in a specific location. Any new drawing would then be created from that template. Currently, as far as I know, you have to open a new drawing from a saved template to do this and there is NO way to control the choices when you "Create SubVI", you have to manually change them every time. Roy Quote Link to comment
Yair Posted March 5, 2009 Report Share Posted March 5, 2009 For "create subVI" this seems pointless, as the subVI is created based on the code you select, so there's no way to know in advance. For the new VI, you should be able to override this by placing a VI called lv_new_vi.vi in the <LabVIEW>\resource\plugins folder. Here are some details. I'm not sure, but you might have to write some code there (e.g. to have the called VI spawn a new copy of a VIT). See here for an example of using this method. 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.