Jump to content

Default VI file name


Recommended Posts

There is no direct method.

BUT we can always hack something. I've attached a little plugin that allows you to change the default name of the newly created VI. It's based on project providers magic, so use this at your own risk (this is the dark magic we're talking about here ;) ).

Instructions:
1. Install this package.
2. Go to <LabVIEW>\resource\Framework\Providers\DefaultNamesChanger folder
3. Open DefaultNamesChanger.ini file.
4. Edit "VINameTemplate" key.
5. Save the ini file and restart LabVIEW.
 

pidi_lib_defaultnameschanger-1.0.0.6.vip

Link to comment
  • 3 weeks later...

Hm.... well... that's frustrating. I've tried to get as many VIs as possible out from under password lock. I thought that one was clear.

I'd suggest you just save over it, but it looks like it handles quite a bit. I'm guessing this one is still password protected because there's some bits in there that could be easily unstable if used under different conditions.

Sorry to get your hopes up.

Link to comment

Another option is creating a lv_new_vi.vi in that same folder. This VI will override the behavior of pressing Ctrl-N. You can find the required conpane for the VI on labview wiki somewhere, but I think it's just 4x2x2x4 with an I32 in the upper right. Unfortunately (due to its age as a feature) it has no knowledge of application instances, and thus doesn't work properly when pressing Ctrl-N under different containers in the project window.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.