 | By default, templates reside in the Macro directory and resulting
processed files will be placed in the Data directory. |
 | If the result file name is not provided, the template filename will be
used. |
 | Example: Create a text file named "Source.txt" with the
following and save in the Macro Directory.
Data at time (RTIME)
The value of Channel0 is (AINVAL0).
The value of Channel1 is (AINVAL1).
The value of Channel1*Channel2 is [(AINVAL0),*,(AINVAL1)].
|
 | The following instruction will use the template, process the data, and
place the result file in the Data directory as a file named results.txt.
!TMPL Source.txt,results.txt
|
 | The location of the files may be modified by specifying the location or by
using the (PATH) value to use the current macro path.
!TMPL Source.txt,c:\results.txt
!TMPL Source.txt,(PATH)results.txt
|
 | If the file uses an associated extension, it may be opened through
StampPlot using the application association instruction:
!APPA (PATH)results.txt
|
 | Web pages may be used in the same fashion to create dynamic
pages.
|