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

Last change on this file since 1217 was 1217, checked in by dkearney, 15 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: 4.7 KB
Line 
1<?xml version="1.0"?>
2<run>
3    <tool>
4        <title>curve</title>
5        <about>Example of a Rappture &lt;curve&gt; object.
6
7Curves are a list of (x,y) data points, representing discrete samples of a function y(x).
8
9When you click the Simulate button, the inputs will be used to generate output curves.
10  </about>
11        <command>
12    tclsh @tool/curve.tcl @driver
13  </command>
14        <name>Workspace (800x600)</name>
15        <version>
16            <rappture>
17                <revision>$LastChangedRevision: 1018 $</revision>
18                <modified>$LastChangedDate: 2008-06-08 21:24:34 -0400 (Sun, 08 Jun 2008) $</modified>
19                <language>tcl</language>
20            </rappture>
21        </version>
22    </tool>
23    <input>
24        <integer id="points">
25            <about>
26                <label>Number of points</label>
27                <description>Determines the number of data points in all output curves.</description>
28            </about>
29            <min>2</min>
30            <max>1000</max>
31            <default>10</default>
32            <current>20</current>
33        </integer>
34    </input>
35    <output>
36        <curve id="single">
37            <about>
38                <label>Single curve</label>
39                <description>This is an example of a single curve.</description>
40            </about>
41            <xaxis>
42                <label>Time</label>
43                <description>Time during the experiment.</description>
44                <units>s</units>
45            </xaxis>
46            <yaxis>
47                <label>Voltage v(11)</label>
48                <description>Output from the amplifier.</description>
49                <units>V</units>
50            </yaxis>
51            <component>
52                <xy>0.01 0.990049505363
530.5095 0.578329570829
541.009 0.265160421676
551.5085 0.0248180350859
562.008 -0.140760579036
572.5075 -0.229681990731
583.007 -0.247306232561
593.5065 -0.207290986306
604.006 -0.129662618375
614.5055 -0.0373110930181
625.005 0.0480355105893
635.5045 0.109437700019
646.004 0.137247325002
656.5035 0.130049806852
667.003 0.0939557547102
677.5025 0.04049270651
688.002 -0.016382854697
698.5015 -0.0634856554903
709.001 -0.0911450779658
719.5005 -0.0949606643485
7210.0 -0.076279229916
73</xy>
74            </component>
75        </curve>
76        <curve id="multi1">
77            <about>
78                <group>Multiple curves</group>
79                <label>Factor a=1</label>
80                <description>This is an example of multiple curves on the same plot.</description>
81            </about>
82            <xaxis>
83                <label>Frequency</label>
84                <description>Frequency of the input source.</description>
85                <units>Hz</units>
86                <scale>log</scale>
87            </xaxis>
88            <yaxis>
89                <label>Current</label>
90                <description>Current through the pull-down resistor.</description>
91                <units>uA</units>
92                <scale>log</scale>
93            </yaxis>
94            <component>
95                <xy>0.01 100.695555006
960.5095 2.79402697335
971.009 1.9945645659
981.5085 1.88607272188
992.008 2.00310872589
1002.5075 2.26773222972
1013.007 2.67339892364
1023.5065 3.24106571349
1034.006 4.01065419167
1044.5055 5.04135930614
1055.005 6.41580338707
1065.5045 8.24710900967
1076.004 10.689155879
1086.5035 13.9508745108
1097.003 18.3159282379
1107.5025 24.1697154991
1118.002 32.036383087
1128.5015 42.6295697051
1139.001 56.9220102634
1149.5005 76.2410750498
11510.0 102.4
116</xy>
117            </component>
118        </curve>
119        <curve id="multi2">
120            <about>
121                <group>Multiple curves</group>
122                <label>Factor a=2</label>
123                <description>This is an example of multiple curves on the same plot.</description>
124            </about>
125            <xaxis>
126                <label>Frequency</label>
127                <description>Frequency of the input source.</description>
128                <units>Hz</units>
129                <scale>log</scale>
130            </xaxis>
131            <yaxis>
132                <label>Current</label>
133                <description>Current through the pull-down resistor.</description>
134                <units>uA</units>
135                <scale>log</scale>
136            </yaxis>
137            <component>
138                <xy>0.01 101.395947979
1390.5095 3.97745593782
1401.009 4.01409239782
1411.5085 5.36614226597
1422.008 8.05698869204
1432.5075 12.8950932353
1443.007 21.4912148474
1453.5065 36.8340536524
1464.006 64.4379002629
1474.5055 114.508650612
1485.005 206.018478173
1495.5045 374.387505227
1506.004 686.00535265
1516.5035 1265.75604166
1527.003 2349.3190102
1537.5025 4382.77404267
1548.002 8212.69139005
1558.5015 15449.6077329
1569.001 29164.2773871
1579.5005 55223.5708358
15810.0 104857.6
159</xy>
160            </component>
161        </curve>
162        <time>Tue Nov 11 23:27:19 EST 2008</time>
163        <status>ok</status>
164        <user>dkearney</user>
165    </output>
166</run>
167
Note: See TracBrowser for help on using the repository browser.