11-01-2024, 02:16 PM
this is my code without an if blog because it can't generate so I know that bug here now i didn't ✓ anything
you can see a if blog in previous pic
<phyphox xmlns="https://phyphox.org/xml" version="1.18">
<title>New Experiment</title>
<category>No Category</category>
<data-containers>
<container size="0">acc</container>
<container size="0">acct</container>
<container size="0">accCopy</container>
<container size="0">acctCopy</container>
<container size="0">max</container>
<container size="0">t</container>
<container size="0">count</container>
<container size="0">BPM</container>
</data-containers>
<input>
<sensor type="linear_acceleration">
<output component="y">acc</output>
<output component="t">acct</output>
</sensor>
</input>
<analysis>
<append>
<input>acc</input>
<output>accCopy</output>
</append>
<append>
<input>acct</input>
<output>acctCopy</output>
</append>
<max>
<input as="x">acctCopy</input>
<input as="y">accCopy</input>
<output as="max">max</output>
<output as="position">t</output>
</max>
<multiply>
<input>count</input>
<input type="value">3</input>
<output>BPM</output>
</multiply>
</analysis>
<views>
<view label="New View">
<graph label="New Graph">
<input axis="x">acct</input>
<input axis="y">acc</input>
</graph>
<value unit="BPM" label="your heart beat rate is">
<input>BPM</input>
</value>
</view>
</views>
</phyphox>
you can see a if blog in previous pic
<phyphox xmlns="https://phyphox.org/xml" version="1.18">
<title>New Experiment</title>
<category>No Category</category>
<data-containers>
<container size="0">acc</container>
<container size="0">acct</container>
<container size="0">accCopy</container>
<container size="0">acctCopy</container>
<container size="0">max</container>
<container size="0">t</container>
<container size="0">count</container>
<container size="0">BPM</container>
</data-containers>
<input>
<sensor type="linear_acceleration">
<output component="y">acc</output>
<output component="t">acct</output>
</sensor>
</input>
<analysis>
<append>
<input>acc</input>
<output>accCopy</output>
</append>
<append>
<input>acct</input>
<output>acctCopy</output>
</append>
<max>
<input as="x">acctCopy</input>
<input as="y">accCopy</input>
<output as="max">max</output>
<output as="position">t</output>
</max>
<multiply>
<input>count</input>
<input type="value">3</input>
<output>BPM</output>
</multiply>
</analysis>
<views>
<view label="New View">
<graph label="New Graph">
<input axis="x">acct</input>
<input axis="y">acc</input>
</graph>
<value unit="BPM" label="your heart beat rate is">
<input>BPM</input>
</value>
</view>
</views>
</phyphox>