Allow up to eight fake Galil controllers when testing.
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user