source: trunk/examples/zoo/loadrun/run5.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: 3.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>5</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
532.008 -0.140760579036
544.006 -0.129662618375
556.004 0.137247325002
568.002 -0.016382854697
57</xy>
58            </component>
59        </curve>
60        <curve id="multi1">
61            <about>
62                <group>Multiple curves</group>
63                <label>Factor a=1</label>
64                <description>This is an example of multiple curves on the same plot.</description>
65            </about>
66            <xaxis>
67                <label>Frequency</label>
68                <description>Frequency of the input source.</description>
69                <units>Hz</units>
70                <scale>log</scale>
71            </xaxis>
72            <yaxis>
73                <label>Current</label>
74                <description>Current through the pull-down resistor.</description>
75                <units>uA</units>
76                <scale>log</scale>
77            </yaxis>
78            <component>
79                <xy>0.01 100.695555006
802.008 2.00310872589
814.006 4.01065419167
826.004 10.689155879
838.002 32.036383087
84</xy>
85            </component>
86        </curve>
87        <curve id="multi2">
88            <about>
89                <group>Multiple curves</group>
90                <label>Factor a=2</label>
91                <description>This is an example of multiple curves on the same plot.</description>
92            </about>
93            <xaxis>
94                <label>Frequency</label>
95                <description>Frequency of the input source.</description>
96                <units>Hz</units>
97                <scale>log</scale>
98            </xaxis>
99            <yaxis>
100                <label>Current</label>
101                <description>Current through the pull-down resistor.</description>
102                <units>uA</units>
103                <scale>log</scale>
104            </yaxis>
105            <component>
106                <xy>0.01 101.395947979
1072.008 8.05698869204
1084.006 64.4379002629
1096.004 686.00535265
1108.002 8212.69139005
111</xy>
112            </component>
113        </curve>
114        <time>Tue Nov 11 23:27:25 EST 2008</time>
115        <status>ok</status>
116        <user>dkearney</user>
117    </output>
118</run>
119
Note: See TracBrowser for help on using the repository browser.