From 8a796a68184b4b39d7808869f5362dfd3c31d110 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 30 Apr 2015 10:16:24 +0800 Subject: [PATCH] artiq_run/ELFRunner: create a core device object (necessary for runtime exception processing) --- artiq/frontend/artiq_run.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/artiq/frontend/artiq_run.py b/artiq/frontend/artiq_run.py index bbfc8b07f..308c15f53 100755 --- a/artiq/frontend/artiq_run.py +++ b/artiq/frontend/artiq_run.py @@ -21,14 +21,14 @@ logger = logging.getLogger(__name__) class ELFRunner(Experiment, AutoDB): class DBKeys: - comm = Device() + core = Device() file = Argument() def run(self): with open(self.file, "rb") as f: - self.comm.load(f.read()) - self.comm.run("run") - self.comm.serve(dict(), dict()) + self.core.comm.load(f.read()) + self.core.comm.run("run") + self.core.comm.serve(dict(), dict()) class SimpleParamLogger: