Click the Create button on the Code Templates tab of the Step Type Properties dialog box to launch the Create Code Templates dialog box.

TestStand copies the files for the existing code template you select into a new subdirectory in the <TestStand Public>\CodeTemplates directory based on the code template name you specified in the Create Code Templates dialog box. You can then customize the code template files in the new <TestStand Public>\CodeTemplates directory.

For example, you can include example code that shows users how to access the custom properties of the step. For most environments, you can add a value parameter to pass the information from TestStand. You can also show how to obtain the high- and low-limit properties in a LabVIEW or LabWindows/CVI code template for a Numeric Limit Test step by customizing the prototype for the code module to specify the high and low limits as value parameters. As another example, you might want to show how to return a measurement value from a code module. For the LabVIEW, LabWindows/CVI, and C/C++ DLL Adapters, you can customize the prototype in the code template by specifying the measurement as a reference parameter.