<phyphox xmlns="http://phyphox.org/xml" xmlns:editor="http://phyphox.org/editor/xml" version="1.7" editor:version="1.0" locale="">
    <title>ESP32_07_einfach10</title>
    <category>Sensoren</category>
    <color>ffff00</color>
    <description>2 der 7 Werte werden alternierend in den append-Buffer geschrieben und an einen Graphen weiter gereicht.
Die Buffer für die beiden Roh-Werte haben jetzt nur noch die Länge 1.
Entscheidend ist aber wohl, dass bei den Buffern der beiden Werte die Clear-Option auf &quot;at the input&quot; steht.
Im Output Buffer vom append muss die Clear-option auf disabled stehen, da sonst der Graph nicht gezeichnet wird.</description>
    <data-containers>
        <container size="2" static="false">wert3</container>
        <container size="1000" static="false">Zeit</container>
        <container size="1000" static="false">AppendBuffer</container>
        <container size="2" static="false">wert4</container>
        <container size="2" static="false">wert5</container>
        <container size="2" static="false">wert6</container>
        <container size="2" static="false">wert7</container>
        <container size="0" static="false">wert1</container>
        <container size="2" static="false">wert2</container>
        <container size="0" static="false">out</container>
        <container size="1000" static="false">count</container>
        <container size="1000" static="false">out (1)</container>
    </data-containers>
    <input>
        <bluetooth editor:uuid="101" editor:posx="100" editor:posy="250" id="LaserSensor" name="ESP32" uuid="4fafc201-1fb5-459e-8fcc-c5c9c331914b" mode="notification" rate="1" subscribeOnStart="false">
            <output char="59f51a40-8852-4abe-a50f-2d45e6bd51ac" conversion="uInt16LittleEndian" offset="0" length="2" label="Wert0">wert1</output>
            <output char="59f51a40-8852-4abe-a50f-2d45e6bd51ac" conversion="uInt16LittleEndian" offset="2" length="2" label="Wert1">wert2</output>
            <output char="59f51a40-8852-4abe-a50f-2d45e6bd51ac" conversion="uInt16LittleEndian" offset="4" length="2" label="Wert2">wert3</output>
            <output char="59f51a40-8852-4abe-a50f-2d45e6bd51ac" conversion="uInt16LittleEndian" offset="6" length="2" label="Wert3">wert4</output>
            <output char="59f51a40-8852-4abe-a50f-2d45e6bd51ac" conversion="uInt16LittleEndian" offset="8" length="2" label="Wert4">wert5</output>
            <output char="59f51a40-8852-4abe-a50f-2d45e6bd51ac" conversion="uInt16LittleEndian" offset="10" length="2" label="Wert5">wert6</output>
            <output char="59f51a40-8852-4abe-a50f-2d45e6bd51ac" conversion="uInt16LittleEndian" offset="12" length="2" label="Wert6">wert7</output>
            <output char="59f51a40-8852-4abe-a50f-2d45e6bd51ac" conversion="string" label="Zeit" extra="time">Zeit</output>
        </bluetooth>
    </input>
    <output>
    </output>
    <analysis sleep="0"  onUserInput="false">
        <count editor:uuid="187" editor:posx="309.683349609375" editor:posy="899.2000274658203">
            <input as="buffer" clear="false">Zeit</input>
            <output as="count">count</output>
        </count>
        <append editor:uuid="149" editor:posx="535.4166870117188" editor:posy="108.76666259765625">
            <input as="in">wert1</input>
            <input as="in">wert2</input>
            <input as="in">wert3</input>
            <input as="in">wert4</input>
            <input as="in">wert5</input>
            <input as="in">wert6</input>
            <input as="in">wert7</input>
            <output as="out" clear="false">AppendBuffer</output>
        </append>
        <formula editor:uuid="188" editor:posx="574.61669921875" editor:posy="994.0000152587891" formula="([1])*0.2">
            <input as="in" clear="false">count</input>
            <output as="out" clear="false">out (1)</output>
        </formula>
        <ramp editor:uuid="186" editor:posx="943.4166870117188" editor:posy="878.4833526611328">
            <input as="start" type="value">0</input>
            <input as="stop" clear="false">out (1)</input>
            <input as="length" type="value">200</input>
            <output as="out">out</output>
        </ramp>
    </analysis>
    <views>
        <view label="Raw Data">
            <graph editor:uuid="156" editor:posx="947.1500244140625" editor:posy="337.04998779296875" label="Append-Diagramm" aspectRatio="2.5" style="vbars" lineWidth="1" color="ff7e22" partialUpdate="false" history="1" labelX="time" labelY="" labelZ="" unitX="s" unitY="" unitZ="" logX="false" logY="false" logZ="false" xPrecision="2" yPrecision="0" zPrecision="3" scaleMinX="auto" scaleMaxX="auto" scaleMinY="auto" scaleMaxY="auto" scaleMinZ="auto" scaleMaxZ="auto" minX="0" maxX="0" minY="0" maxY="0" minZ="0" maxZ="0"  mapWidth="0"       >
                <input axis="x">out</input>
                <input axis="y">AppendBuffer</input>
            </graph>
        </view>
        <view label="New view">
            <value editor:uuid="157" editor:posx="667.566650390625" editor:posy="520.0000152587891" label="wert1" size="1" precision="2" scientific="false"  factor="1" >
                <input>wert1</input>
            </value>
            <value editor:uuid="158" editor:posx="670.11669921875" editor:posy="622.3333282470703" label="wert4" size="1" precision="2" scientific="false"  factor="1" >
                <input>wert4</input>
            </value>
            <value editor:uuid="159" editor:posx="666.2000122070312" editor:posy="734.9166412353516" label="wert7" size="1" precision="2" scientific="false"  factor="1" >
                <input>wert7</input>
            </value>
            <value editor:uuid="160" editor:posx="665.9666748046875" editor:posy="845.8333282470703" label="Time" size="1" precision="2" scientific="false"  factor="1" >
                <input>Zeit</input>
            </value>
            <value editor:uuid="173" editor:posx="970.5999755859375" editor:posy="732.4166412353516" label="ramp" size="1" precision="2" scientific="false"  factor="1" >
                <input>out</input>
            </value>
        </view>
    </views>
    <export>
        <set name="ESP02-07-Set">
            <data name="Wert2">wert3</data>
            <data name="Zeit">Zeit</data>
            <data name="AppendBuffer">AppendBuffer</data>
        </set>
    </export>
</phyphox>
