Closedown

This commit is contained in:
gac-x12sa
2023-01-05 14:49:24 +01:00
parent 70b259b9e2
commit 79566cb477

View File

@@ -40,8 +40,8 @@ class StdDaq(DeviceBase):
def abort(self):
self.state.assertIs(State.Busy)
if not self.simulated:
print "Aborting request: ", self.req_id
print "Aborting request: ", self.req_id
if not self.simulated:
data = {"request_id":self.req_id}
headers = {'Content-type': 'application/json'}
r = requests.post(url = self.url + "/write_kill", json=data, headers=headers)