Laserfiche WebLink
TSTool Documentation Quick Start Guide <br /> Quick Start - 11 <br /> <br />In the main TSTool window, if any commands are selected, right-click on the commands and select <br />Deselect All Commands. This ensures that new commands will be added at the end of the command <br />list. Otherwise commands are inserted before the first selected command. <br /> <br />The Commands menu in the TSTool main window provides access to many commands used to automate <br />processing. Select the Commands… Visualization Processing… ProcessTSProduct() menu, which <br />will display a command editor dialog as shown in the following figure. <br /> <br /> <br />Enter the time series product file and output PNG image file as shown in the above figure. The time <br />series product file name should match the name saved from the graph window. Use the Browse button to <br />select the file and then use the Remove Working Directory from TSP button to convert to a relative path. <br />Press OK to save the command. The commands will then be similar to the following: <br /> <br /># TSTool Quick Start - Example 3 - Automated Visualization <br />ReadTimeSeries(TSID="COOP:052211.ACIS.pcpn.Day~RCC-ACIS", <br /> Alias="%L-%T",IfNotFound=Warn) <br />COOP:055402.ACIS.pcpn.Day~RCC-ACIS <br />ProcessTSProduct(TSProductFile="example3-graph.tsp",OutputFile="example3-graph.png") <br /> <br />Then, in the main TSTool window, press Run All Commands to run all the commands. This will read <br />the time series from the RCC ACIS web services, display a graph similar to the following, and create an <br />image file with a name specified in the ProcessTSProduct() command OutputFile parameter. <br />The output file is also listed in the Output Files tab in the Results area of the TSTool window. Selecting <br />the file should display the image if the “png” file extension is associated with a program on the computer. <br />