Currently when working with vit (template) files the Save As behavior changes depending on where / how the template file was opened.
As adoption of the LabVIEW project has grown (and for many people has become the norm) the behavior of "Save As" when applied to template files still remains at odds with that exhibited when using windows explorer or New Sub VI from template (within LabVIEW).
If you double click (to open) a .vit in explorer and then select File > Save As you are greeted with the standard save as dialog box where the file type pattern has been pre-selected as .vi (this is the most obvious use case, you're most likely to be creating a vi from the template)
the same behavior is demonstrated if you select File > New from within LabVIEW, you're greeted by the New (something) windows where you can navigate to Sub vi from template. This opens the template and then when selecting save as you get the same behavior as above with the type pre-selected as .vi
Double clicking (to open) a .vit in the project windows produces different behavior with the home grown LabVIEW Save As Window being displayed (and the default selection being Save Copy as) this results in being prompted to save the file with a .vit extension. I would have expected fewer people to be creating new templates from templates than creating sub vi's from templates.
I would suggest that the default file pattern when performing a Save As on a .vit be .vi as I would suggest this is the most common use case irrespective of where the file was opened from.
If a user wants to make changes and re-save as a .vit then this behavior could be accessed through the File > Open menu item.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.