Script execution

This commit is contained in:
gac-x04sa
2018-10-30 10:53:55 +01:00
parent 9bf0487f8f
commit 1b38cf1251
+1 -1
View File
@@ -141,7 +141,7 @@ class Pixel(DeviceBase, Readable, Readable.IntegerType):
# First wait for "TRIG" to go back to idle. This should
# ensure that execution of the command has started.
#
while (get_trigger_id() != 0):
while (self.get_trigger_id() != 0):
cnt = cnt + 1
if (cnt > 1000):
raise Exception("Trigger signal still busy, pixwait timed-out!\n")