b.resetCounter() print(b.state()) # In[8]: # Disabling the Counter b.disable() # Now triggering it has no effect. b.trigger() print(b.state()) # In[9]: # Enabling the Counter b.enable() b.trigger() print(b.state()) # In[10]: # Kill the clock thread. clock.kill()
print(b.state()) # In[8]: # Disabling the Counter b.disable() # Now triggering it has no effect. b.trigger() print(b.state()) # In[9]: # Enabling the Counter b.enable() b.trigger() print(b.state()) # In[10]: # Kill the clock thread. clock.kill()