source: trunk/examples/zoo/loadrun/tool.xml @ 1217

Last change on this file since 1217 was 1217, checked in by dkearney, 16 years ago

adding ability to specify runfiles to be either loaded or included with the
results of the current simulation. loading a runfile will simply call the tool object's load function within analyzer and the runfile will be loaded as a previous simulation result. including a runfile involves copying the results (everything under output) from the runfile into the current run.xml file and all of the results are shown as one single simulation.

This behavior is demonstrated in the zoo's loadrun example.

File size: 2.8 KB
Line 
1<?xml version="1.0"?>
2<run>
3<tool>
4  <title>load run.xml</title>
5  <about>Example of a Rappture &lt;load.run&gt; object.
6
7With the load output object you can include previous run files in your current run's output.
8
9When you click the Simulate button, the input choice will be used to determine which two of the three run files are displayed.
10  </about>
11  <command>
12    tclsh @tool/loadrun.tcl @driver
13  </command>
14</tool>
15<input>
16  <choice id="importtype">
17    <about>
18      <label>import type</label>
19      <description>Would you like to load a run file or include a run file.</description>
20    </about>
21    <option>
22      <about>
23        <label>load</label>
24        <description>Load the following run files, they will look like separate simulations</description>
25      </about>
26      <value>load</value>
27    </option>
28    <option>
29      <about>
30        <label>include</label>
31        <description>Include the following run files, all results from each run will be merged into one and it will look like one simulation.</description>
32      </about>
33      <value>include</value>
34    </option>
35    <option>
36      <about>
37        <label>both</label>
38        <description>Load and Include the following run files</description>
39      </about>
40      <value>both</value>
41    </option>
42    <default>load</default>
43  </choice>
44  <choice id="first">
45    <about>
46      <label>First file to load</label>
47      <description>choose a run file to load.</description>
48    </about>
49    <option>
50      <about>
51        <label>5 points</label>
52        <description>Load the plot generated with 5 data points</description>
53      </about>
54      <value>run5.xml</value>
55    </option>
56    <option>
57      <about>
58        <label>10 points</label>
59        <description>Load the plot generated with 10 data points</description>
60      </about>
61      <value>run10.xml</value>
62    </option>
63    <option>
64      <about>
65        <label>20 points</label>
66        <description>Load the plot generated with 20 data points</description>
67      </about>
68      <value>run20.xml</value>
69    </option>
70    <default>5 points</default>
71  </choice>
72  <choice id="second">
73    <about>
74      <label>Second file to load</label>
75      <description>choose a second run file to load.</description>
76    </about>
77    <option>
78      <about>
79        <label>5 points</label>
80        <description>Load the plot generated with 5 data points</description>
81      </about>
82      <value>run5.xml</value>
83    </option>
84    <option>
85      <about>
86        <label>10 points</label>
87        <description>Load the plot generated with 10 data points</description>
88      </about>
89      <value>run10.xml</value>
90    </option>
91    <option>
92      <about>
93        <label>20 points</label>
94        <description>Load the plot generated with 20 data points</description>
95      </about>
96      <value>run20.xml</value>
97    </option>
98    <default>20 points</default>
99  </choice>
100</input>
101</run>
Note: See TracBrowser for help on using the repository browser.