source: trunk/examples/zoo/loadrun/run10.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: 4.0 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>10</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
531.009 0.265160421676
542.008 -0.140760579036
553.007 -0.247306232561
564.006 -0.129662618375
575.005 0.0480355105893
586.004 0.137247325002
597.003 0.0939557547102
608.002 -0.016382854697
619.001 -0.0911450779658
62</xy>
63            </component>
64        </curve>
65        <curve id="multi1">
66            <about>
67                <group>Multiple curves</group>
68                <label>Factor a=1</label>
69                <description>This is an example of multiple curves on the same plot.</description>
70            </about>
71            <xaxis>
72                <label>Frequency</label>
73                <description>Frequency of the input source.</description>
74                <units>Hz</units>
75                <scale>log</scale>
76            </xaxis>
77            <yaxis>
78                <label>Current</label>
79                <description>Current through the pull-down resistor.</description>
80                <units>uA</units>
81                <scale>log</scale>
82            </yaxis>
83            <component>
84                <xy>0.01 100.695555006
851.009 1.9945645659
862.008 2.00310872589
873.007 2.67339892364
884.006 4.01065419167
895.005 6.41580338707
906.004 10.689155879
917.003 18.3159282379
928.002 32.036383087
939.001 56.9220102634
94</xy>
95            </component>
96        </curve>
97        <curve id="multi2">
98            <about>
99                <group>Multiple curves</group>
100                <label>Factor a=2</label>
101                <description>This is an example of multiple curves on the same plot.</description>
102            </about>
103            <xaxis>
104                <label>Frequency</label>
105                <description>Frequency of the input source.</description>
106                <units>Hz</units>
107                <scale>log</scale>
108            </xaxis>
109            <yaxis>
110                <label>Current</label>
111                <description>Current through the pull-down resistor.</description>
112                <units>uA</units>
113                <scale>log</scale>
114            </yaxis>
115            <component>
116                <xy>0.01 101.395947979
1171.009 4.01409239782
1182.008 8.05698869204
1193.007 21.4912148474
1204.006 64.4379002629
1215.005 206.018478173
1226.004 686.00535265
1237.003 2349.3190102
1248.002 8212.69139005
1259.001 29164.2773871
126</xy>
127            </component>
128        </curve>
129        <time>Tue Nov 11 23:27:12 EST 2008</time>
130        <status>ok</status>
131        <user>dkearney</user>
132    </output>
133</run>
134
Note: See TracBrowser for help on using the repository browser.