Have a test that you perform over and over again? Tired of setting up a project with the same settings every time?
Templates are the solution!
In LMS Test.Lab, templates are used to store custom test settings. When a template is opened, all settings will be loaded – the user can jump right into measuring without having to re-setup the test.
Creating a template:
First, open (or create) a project with the appropriate settings for the test.
After selecting the settings and configuration for the test (channel setup, DSP, tracking, processing, displays, etc.), save it as a template.
File -> Save As Template….
NOTE: Saving an existing project as a template will save the settings of a project without saving the data.
A project template file has the extension .tpl. This contains the starting setup that is used when a new project is created.
To open a template:
A new project will be created and all settings will be loaded.
Save the project and then start recording data! All the settings should be appropriate.
Note that pressing the upper left white icon for new project , there is no template choice given. The default project template called "BlankProject" will be used automatically. To use something other than the default template, the "File -> New" selection must be used.
Creating a template shortcut:
To open templates even faster, create a template shortcut.
When saving the project as a template there is an option to “Create template shortcut on Desktop”.
Click on the icon to launch. The software will open and load the settings stored with the template.
Lock it down!
Worried someone will tinker with your template?
Lock it down with parameter locking.
Parameter locking allows the user to de-activate buttons and fields in Test.Lab so they cannot be changed.
To lock parameters, go to Tools -> Add-ins and turn on Parameter Locking (no tokens required).
To lock a parameter (such as a drop down menu or a fill-in field), right click on it and select the “Property Dialog” menu.
Check on the “Read Only” box to lock the parameter.
There are also options to change visual properties of the field such as font and color.
When a field is locked it will appear greyed out.
When all the desired parameters are locked, save as a Task Shortcut.
Go to File -> Save as Task Shortcut.
A task shortcut is similar to a template, but in addition to just saving settings, it also saves locked parameter settings, add-in activity, and workbook configuration.
When saving as a Task Shortcut, three files are created:
All three of these files must be stored together.
TIP: If storing all three of these files on the desktop is too cluttered, store them in another location and create a shortcut of the task icon on the desktop.
When opening the task shortcut, the template with the settings, locked parameters, add-ins, and any visual changes will be loaded.
Enjoy the efficiency of not re-creating test settings!
Questions? Contact us.
Related Test.Lab links:
LMS Test.Lab Display links: