<phyphox xmlns="http://phyphox.org/xml" xmlns:editor="http://phyphox.org/editor/xml" version="1.7" editor:version="1.0" locale="en">
    <title>Gemeinsames s-t Diagramm</title>
    <category>Zeitmessung</category>
    <description>Mit diesem Experiment kannst du zusammen mit anderen ein s-t Diagramm erstellen (z.B. von einer Straßenbahn).
Ihr macht gleichmäßige Markierungen am Boden und jeder stellt sich an einer auf. </description>
    <data-containers>
        <container size="1000" static="false">t</container>
        <container size="1" init="0" static="false">sum</container>
        <container size="1" init="0" static="false">Action 1</container>
        <container size="1000" static="false">Action 2</container>
        <container size="1" static="false">offs</container>
        <container size="1" static="false">t1Val</container>
        <container size="1" static="false">t2Val</container>
        <container size="1" static="false">t3Val</container>
        <container size="1000" static="false">dist</container>
    </data-containers>
    <input>
        <sensor editor:uuid="101" editor:posx="165.20001220703125" editor:posy="59.75" rate="0" average="false" type="accelerometer">
            <output component="t">t</output>
        </sensor>
    </input>
    <output>
    </output>
    <analysis sleep="0"  onUserInput="false">
        <add editor:uuid="149" editor:posx="530.2333374023438" editor:posy="62.21665954589844">
            <input as="summand" clear="false">Action 1</input>
            <input as="summand" type="value">1</input>
            <output as="sum">sum</output>
        </add>
        <if editor:uuid="150" editor:posx="1100.816650390625" editor:posy="176.36666870117188" less="false" equal="true" greater="false">
            <input as="a" clear="false">Action 1</input>
            <input as="b" type="value">1</input>
            <input as="true" clear="false">Action 2</input>
            <output as="result">offs</output>
        </if>
        <if editor:uuid="151" editor:posx="1100.816650390625" editor:posy="343.36668395996094" less="false" equal="true" greater="false">
            <input as="a" clear="false">Action 1</input>
            <input as="b" type="value">2</input>
            <input as="true" clear="false">Action 2</input>
            <output as="result">t1Val</output>
        </if>
        <if editor:uuid="152" editor:posx="1108.816650390625" editor:posy="520.3666839599609" less="false" equal="true" greater="false">
            <input as="a" clear="false">Action 1</input>
            <input as="b" type="value">3</input>
            <input as="true" clear="false">Action 2</input>
            <output as="result">t2Val</output>
        </if>
        <if editor:uuid="178" editor:posx="1109.066650390625" editor:posy="705.6166839599609" less="false" equal="true" greater="false">
            <input as="a" clear="false">Action 1</input>
            <input as="b" type="value">4</input>
            <input as="true" clear="false">Action 2</input>
            <output as="result">t3Val</output>
        </if>
    </analysis>
    <views>
        <view label="Experiment">
            <edit editor:uuid="185" editor:posx="455.3499755859375" editor:posy="648.0833129882812" label="Distanz" signed="false" decimal="false"   unit="Einheiten" factor="1" default="0">
                <output>dist</output>
            </edit>
            <info editor:uuid="246" label="Trage die dir zugewiesene Startdistanz ein" >
            </info>
            <value editor:uuid="159" editor:posx="218.36669921875" editor:posy="316.79998779296875" label="currT" size="1" precision="2" scientific="false"  factor="1" >
                <input>t</input>
            </value>
            <info editor:uuid="307" label="Drücke oben rechts auf den Pfeil, um das Experiment zu starten. Der Timer sollte beginnen." >
            </info>
            <button editor:uuid="160" editor:posx="528" editor:posy="245.78334045410156" label="Stop!">
                <input>sum</input>
                <output>Action 1</output>
                <input>t</input>
                <output>Action 2</output>
            </button>
            <info editor:uuid="314" label="Wir drücken alle zusammen zum Ersten mal den Stop Knopf, um die Uhren zu Synchronisieren" >
            </info>
            <info editor:uuid="321" label="Drücke danach jedes mal Stop, wenn die Bahn über eine Markierung fährt" >
            </info>
            <value editor:uuid="161" editor:posx="760.6666870117188" editor:posy="183.03334045410156" label="Aktuelle Messung" size="2" precision="2" scientific="false"  factor="1" >
                <input>Action 1</input>
            </value>
            <value editor:uuid="162" editor:posx="1373.0833740234375" editor:posy="177.81666564941406" label="Offset" size="2" precision="2" scientific="false"  factor="1" >
                <input>offs</input>
            </value>
            <value editor:uuid="163" editor:posx="1376.050048828125" editor:posy="347.1333465576172" label="t1" size="2" precision="2" scientific="false"  factor="1" >
                <input>t1Val</input>
            </value>
            <value editor:uuid="164" editor:posx="1367.1666259765625" editor:posy="512.1333465576172" label="t2" size="2" precision="2" scientific="false"  factor="1" >
                <input>t2Val</input>
            </value>
            <value editor:uuid="171" editor:posx="1366.3499755859375" editor:posy="705.1500244140625" label="t3" size="2" precision="2" scientific="false"  factor="1" >
                <input>t3Val</input>
            </value>
            <info editor:uuid="328" label="Wenn alle Markierungen überfahren worden, drücke oben rechts auf das || Symbol um das Experiment zu beenden" >
            </info>
            <info editor:uuid="335" label="Drücke auf Export, um mir die Ergebnisse per E-Mail zu schicken" >
            </info>
        </view>
    </views>
    <export>
        <set name="New export set">
            <data name="Distance">dist</data>
            <data name="Offset">offs</data>
            <data name="Time1">t1Val</data>
            <data name="Time2">t2Val</data>
            <data name="Time3">t3Val</data>
        </set>
    </export>
</phyphox>
