News:

  • May 30, 2026, 06:55:40 PM

Login with username, password and session length

Author Topic: High Speed Counter Rate Scaling Glitch  (Read 6063 times)

Bolt

  • Hero Member
  • *****
  • Posts: 598
High Speed Counter Rate Scaling Glitch
« on: August 14, 2021, 03:46:02 PM »
When using the Rate Scaling option on a High Speed Counter (in Rotary Mode), it works fine all rotation.  But when it wraps around from Count back to zero, it causes the rate to go negative for that count.  Is this a glitch?  Do you know of an "easy" work around?

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6157
  • Yes Pinky, Do-more will control the world!
Re: High Speed Counter Rate Scaling Glitch
« Reply #1 on: August 14, 2021, 10:36:19 PM »
When using the Rate Scaling option on a High Speed Counter (in Rotary Mode), it works fine all rotation.  But when it wraps around from Count back to zero, it causes the rate to go negative for that count.  Is this a glitch?  Do you know of an "easy" work around?

You could use a second counter for the rate calc, but rotary isn't compatible with rate.
"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

Bolt

  • Hero Member
  • *****
  • Posts: 598
Re: High Speed Counter Rate Scaling Glitch
« Reply #2 on: August 17, 2021, 03:58:17 PM »
You could use a second counter for the rate calc, but rotary isn't compatible with rate.

Turns out I had already programmed a separate high speed counter to do that, just hadn't implemented it everywhere in the logic yet.  Gotta love slow moving projects, you forget what you were trying to do a few weeks ago.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6157
  • Yes Pinky, Do-more will control the world!
Re: High Speed Counter Rate Scaling Glitch
« Reply #3 on: August 17, 2021, 07:39:50 PM »
Turns out I had already programmed a separate high speed counter to do that, just hadn't implemented it everywhere in the logic yet.  Gotta love slow moving projects, you forget what you were trying to do a few weeks ago.

I've done this more times than I care to admit.
"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