Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: KatzYaakov on August 16, 2021, 09:50:53 AM

Title: how reset counter
Post by: KatzYaakov on August 16, 2021, 09:50:53 AM
i try reset the counter
hreg = mc.mcRegGetHandle(0, "PoKeys_52673/Counter 02")
                  
                  mc.mcRegSetValue(hreg,0)
its real put 0  on counter
but when i start again to count its intiles the old value
also when i shut down even if its show 0 its still remember the old value
Title: Re: how reset counter
Post by: smurph on August 16, 2021, 05:21:16 PM
Since that is a Pokeys register, you may have to pose that question to PoLabs.

Steve