def stop(self): self.collectdata = False try: acsc.writeInteger(self.hc, "collect_data", 0) except: print("Could not write collect_data = 0")
def on_halt(self): acsc.writeInteger(self.hcomm, "move", 0) acsc.stopBuffer(self.hcomm, 19) acsc.halt(self.hcomm, self.axis)