From eadb336ef307d160f27e348466e8f63ff8391561 Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Tue, 17 Jun 2014 12:29:50 +1000 Subject: [PATCH] Simple hack to allow reading inputs on the fake Galil. This was done for the shutter.sct on Bilby. --- site_ansto/instrument/TEST_SICS/fakeGalil/galilcontroller.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/site_ansto/instrument/TEST_SICS/fakeGalil/galilcontroller.py b/site_ansto/instrument/TEST_SICS/fakeGalil/galilcontroller.py index eb6f6282..45cf7612 100644 --- a/site_ansto/instrument/TEST_SICS/fakeGalil/galilcontroller.py +++ b/site_ansto/instrument/TEST_SICS/fakeGalil/galilcontroller.py @@ -76,6 +76,8 @@ class GalilController(object): response.append(" 0000000000") elif item == "_XQ0": response.append(" 0000000123") + elif item[0] == "@": + response.append(" 1.0000") elif len(item) == 4 and item[0] == "_": axis = arg[3] param = self.motors[axis].doQuery(item[1:3])