News:

  • October 01, 2025, 03:05:47 AM

Login with username, password and session length

Author Topic: Filter  (Read 1802 times)

PLCGuy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 677
Filter
« on: October 01, 2018, 06:34:06 PM »
Why does the FILTER function have to have a real number for the output?

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6123
  • Yes Pinky, Do-more will control the world!
Re: Filter
« Reply #1 on: October 02, 2018, 06:00:19 AM »
Why does the FILTER function have to have a real number for the output?

Because the loss of precision will result in the filter output value hanging at a value well away from the source. It's particularly bad at higher filter times. Meaning, if your input value was an analog input with a value of 2314, the loss of precision of the output may result in the output value stopping at 2245.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO