From 2246c58837cbaa1c22f760128c9761af15b20558 Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Wed, 5 Feb 2014 15:51:01 +1100 Subject: [PATCH] Allow up to eight fake Galil controllers when testing. --- site_ansto/instrument/TEST_SICS/fakeGalil/SIM_GALIL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site_ansto/instrument/TEST_SICS/fakeGalil/SIM_GALIL.py b/site_ansto/instrument/TEST_SICS/fakeGalil/SIM_GALIL.py index 8341cff2..a5615c70 100755 --- a/site_ansto/instrument/TEST_SICS/fakeGalil/SIM_GALIL.py +++ b/site_ansto/instrument/TEST_SICS/fakeGalil/SIM_GALIL.py @@ -90,7 +90,7 @@ def main(**kwargs): log.startLogging(open(("/tmp/Fake_Galil_%d.log" % basePort[args.instrument]), "w")) devices = {} factories = {} - for dev in range(0, 6): + for dev in range(0, 8): port = basePort[args.instrument] + dev controllerName = "mc%d" % (dev + 1) factory = GalilFactory(port)