<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Get the difference between two values in different recordings. in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-the-difference-between-two-values-in-different-recordings/m-p/72241#M44603</link>
    <description>&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I have multiple sensors and every value is recorded every 20S in my dB. Each recording has an ID, value, sensor id and timestamp. I would like to find an SQL request that would allow me to get the difference between the values reported by 2 sensors at near similar times. So for instance, for each value of sensor 5, I would like to get the difference with the closest value for sensor 5. Then I would like to also ensure that both values are not too far in time (20s for instance) and return a value only in that case.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Would anyone have pointers or even a syntax to do this? I know influx is made for this stuff, but I know SQL only and don't yet understand nosql design so for now it's mysql.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Thanks in advance for the help!&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jun 2020 12:40:28 GMT</pubDate>
    <dc:creator>MaxwellGael</dc:creator>
    <dc:date>2020-06-19T12:40:28Z</dc:date>
    <item>
      <title>Get the difference between two values in different recordings.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-the-difference-between-two-values-in-different-recordings/m-p/72241#M44603</link>
      <description>&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I have multiple sensors and every value is recorded every 20S in my dB. Each recording has an ID, value, sensor id and timestamp. I would like to find an SQL request that would allow me to get the difference between the values reported by 2 sensors at near similar times. So for instance, for each value of sensor 5, I would like to get the difference with the closest value for sensor 5. Then I would like to also ensure that both values are not too far in time (20s for instance) and return a value only in that case.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Would anyone have pointers or even a syntax to do this? I know influx is made for this stuff, but I know SQL only and don't yet understand nosql design so for now it's mysql.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Thanks in advance for the help!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 12:40:28 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-the-difference-between-two-values-in-different-recordings/m-p/72241#M44603</guid>
      <dc:creator>MaxwellGael</dc:creator>
      <dc:date>2020-06-19T12:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get the difference between two values in different recordings.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-the-difference-between-two-values-in-different-recordings/m-p/81926#M51643</link>
      <description>&lt;P&gt;Every week, a couple of sensors fail. It's strange because it's close to the base, yet my farthest sensor has no issues.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 16:17:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-the-difference-between-two-values-in-different-recordings/m-p/81926#M51643</guid>
      <dc:creator>zeno93</dc:creator>
      <dc:date>2022-03-31T16:17:29Z</dc:date>
    </item>
  </channel>
</rss>

