From af0db39729bee0fa598cc5bc13598b4be67052d7 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 25 Nov 2011 20:31:18 +0100 Subject: 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 --- Phytron.py | 8 ++++++-- 1 file 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") -- cgit v1.2.3