This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

How can count amount peak of graph ?
#5
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>
Reply


Messages In This Thread
RE: How can count amount peak of graph ? - by Newcomer - 11-01-2024, 02:16 PM

Forum Jump: