DIO Module. Counter Reset

Topics about the Hardware of Revolution Pi
Post Reply
User avatar
palmerpi
Posts: 21
Joined: 04 Feb 2019, 17:17
Answers: 0
Location: Northern Ireland
Contact:

DIO Module. Counter Reset

Post by palmerpi »

Hello wondering how to fix an issue with resetting counters? I have 4 counters being read from 2 inputs (Looped from one counter to another). One set of counters is reset every hour with no issue using the .reset() command. The other 2 counters I want to reset a lot less frequently but we still want this facility. When we issue the same reset command only one of the counters resets. Is there an issue with the reset command that stops it working if count is too high?

The counters that rest OK had values 8875, 742, and 734. The one that won't reset has value 288370. Values are correct and the counters are working OK. The same syntax is used to .reset ()

Maybe there was firmware upgrade that fixed this? Its on a machine without network. Its been running for around a year and we've only just added the 2 new counters that are to keep longer count. Also what is the limit on the counter and does it just go back to zero?

Thank you,

Alan
User avatar
dirk
KUNBUS
Posts: 1926
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: DIO Module. Counter Reset

Post by dirk »

Hi you are using RevPiModIO? Then I'll move your post to the appropriate forum.
User avatar
dirk
KUNBUS
Posts: 1926
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: DIO Module. Counter Reset

Post by dirk »

Hi, have a look at this post Counter Reset With RevPiModIO
Post Reply