From 6943b5ede6fcf9d8cefa60985258196597107024 Mon Sep 17 00:00:00 2001 From: x07maop Date: Tue, 1 Mar 2016 09:35:00 +0100 Subject: [PATCH] Script execution --- script/local.py | 1 + 1 file changed, 1 insertion(+) diff --git a/script/local.py b/script/local.py index 72b9ffa..840f027 100644 --- a/script/local.py +++ b/script/local.py @@ -172,6 +172,7 @@ def set_pol_cminus(offset = None, timeout = -1): pol_done.waitValue("DONE",timeout) def set_pol_lin(angle, offset = None, timeout = -1): + timeout = timeout *1000 if timeout>0 else timeout pol_mode.write("LINEAR") pol_angle.write(float(angle)) if offset is not None: