You can create custom template VIs to avoid adding the same components to the block diagram or the front panel each time you want to perform a similar operation. LabVIEW does not apply options you select for new VIs in the Options dialog box to VIs you create from templates.
Complete the following steps to create a new template based on an existing VI template and save a VI as a template.
![]() | Tip You can add templates as subVIs to a template VI. To add a template as a subVI, open the VI template and drag the VI icon in the upper right corner of the front panel or block diagram window to the block diagram of the top-level template VI. When you create a VI from a template that contains template subVIs and save the VI, LabVIEW prompts you to save each template subVI as a VI. |
![]() |
Note If you have already saved the template VI, selecting File»Save As displays the Save As dialog box instead. Select the Copy and Substitute copy for original radio buttons and click the Continue button to display the file dialog box. |
![]() | Caution Do not save your own VIs and other files in .llb files installed with LabVIEW. |
You also can change the .vi extension to a .vit extension in the file system to convert an existing VI to a template VI.