Removing Negative Values out of Basic Statistics Maximum/Latch Math

  • Software
  • Removing Negative Values out of Basic Statistics Maximum/Latch Math
Kierstein Casto

Posted on 28.08.2020 13:39

Hello,


I am trying to use the basic statistic: maximum function to export any values above 45Nm in the Torque plot below. However, when I apply the basic statistics maximum function, it is including all torque, even the -45Nm values.


I have also tried using the Latch Math function and get the same results.


Is there a way to filter out the negative torque values and only export data that is positive 45Nm and above? I have uploaded the file to the private forum due to file size.


Matic Pevec
Customer Support Engineer
Posted on 01.09.2020 12:12

Hi,


Thank you for your question and shared datafile. In your case you would need to create another Math channel with condition, but you have a few options depending on your intention. Below is the screenshot of only a section of your datafile and below are explained different lines.


GREEN LINE gives you only positive values of the Torque channel


GREY LINE gives you all values above 45 and holds the last value until it meets another value above 45.


RED LINE gives you all values above 45, but gives zero for the values that are below 45.


After you get the channel with desired values you can export it.


I hope this helps you.


BR


Matic Pevec

Login to reply to this topic. If you don't have account yet, you can signup for free account .