Allow up to eight fake Galil controllers when testing.

This commit is contained in:
Ferdi Franceschini
2014-02-05 15:51:01 +11:00
parent b257413fd0
commit 2246c58837

View File

@ -90,7 +90,7 @@ def main(**kwargs):
log.startLogging(open(("/tmp/Fake_Galil_%d.log" % basePort[args.instrument]), "w")) log.startLogging(open(("/tmp/Fake_Galil_%d.log" % basePort[args.instrument]), "w"))
devices = {} devices = {}
factories = {} factories = {}
for dev in range(0, 6): for dev in range(0, 8):
port = basePort[args.instrument] + dev port = basePort[args.instrument] + dev
controllerName = "mc%d" % (dev + 1) controllerName = "mc%d" % (dev + 1)
factory = GalilFactory(port) factory = GalilFactory(port)