Laserfiche WebLink
TSTool Documentation Quick Start Guide <br /> Quick Start - 7 <br />Convert TSID command to general ReadTimeSeries() command menu. This will convert the TSID <br />into ReadTimeSeriesCommand() as shown in the first command in the following figure: <br /> <br /> <br />The syntax for commands is CommandName(ParameterName=ParameterValue,…). <br />Uppercase/lowercase is generally ignored; TSTool uses mixed case to make commands and parameters <br />more readable. Unlike Excel formulas, command parameters can be in any order because the parameter <br />name is provided. <br /> <br />To edit the first command, double-click on it or select the command and then right-click and select Edit <br />from the pop-up menu. The command editor will be similar to that shown in the following figure. <br /> <br /> <br />Command editors provide a brief explanation and edit fields for command parameters. The notes to the <br />right of each entry field indicate whether a parameter is required or optional. As much as possible <br />TSTool tries to provide choices. Consequently, TSTool partially runs commands during editing to <br />determine information for choices, and this is why sometimes there is a delay after inserting TSIDs or <br />commands in the Commands area. In complex command files, it may be difficult for TSTool to partially <br />run a command and choices may not be available, in which case parameter values will need to be entered <br />into entry fields. As command parameters are entered, the Command area at the bottom of the dialog <br />displays the full command syntax. <br /> <br />In the above example, the Alias parameter has been specified by the user to provide an alternative way to <br />refer to the time series because TSIDs can be long. The format string %L will be converted to the location <br />identifier and %T to the data type, based on data read for the time series. Part of defining a workflow is to <br />evaluate whether aliases should be used for time series and if so, specifying the naming convention for <br />aliases.