aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@gar-ex-erdastep.localdomain>2011-11-25 20:31:18 +0100
committerroot <root@gar-ex-erdastep.localdomain>2011-11-25 20:31:18 +0100
commitaf0db39729bee0fa598cc5bc13598b4be67052d7 (patch)
tree81a436f012b368e97b65694f16bdd73d43e98fea
parent57b6f6d5456983cb2e908e79859d8ed2b2d50f54 (diff)
downloadPyPhytron-af0db39729bee0fa598cc5bc13598b4be67052d7.tar.gz
PyPhytron-af0db39729bee0fa598cc5bc13598b4be67052d7.tar.bz2
Removed syncstartExecute from Axis class, as this makes not really sense having it there
though it was possible to use with IPCOMM devices. But one normally executes syncstarts through broadcast. So the syncstart sequence commands have been duplicated in the IPCOMM class
-rw-r--r--Phytron.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/Phytron.py b/Phytron.py
index b038844..a87fa96 100644
--- a/Phytron.py
+++ b/Phytron.py
@@ -218,8 +218,6 @@ class Axis:
def syncstartCommence(self):
return self.execute("GW").status
- def syncstartExecute(self):
- return self.execute("GX").status
def syncstartAbort(self):
return self.execute("GB").status
@@ -447,3 +445,9 @@ class IPCOMM:
return recv_data
+ def syncstartCommence(self):
+ self.broadcast("GW")
+ def syncstartExecute(self):
+ self.broadcast("GX")
+ def syncstartAbort(self):
+ self.broadcast("GB")