##################################################################### # # # /analysis_subprocess.py # # # # Copyright 2013, Monash University # # # # This file is part of the program lyse, in the labscript suite # # (see http://labscriptsuite.org), and is licensed under the # # Simplified BSD License. See the license.txt file in the root of # # the project for the full license. # # # ##################################################################### import labscript_utils.excepthook import zprocess to_parent, from_parent, kill_lock = zprocess.setup_connection_with_parent( lock=True) import sys import os import threading import traceback import time from qtutils.qt import QtCore, QtGui, QtWidgets, QT_ENV, PYQT5 from qtutils.qt.QtCore import pyqtSignal as Signal from qtutils.qt.QtCore import pyqtSlot as Slot import matplotlib if QT_ENV == PYQT5: matplotlib.use("QT5Agg") else:
##################################################################### # # # /batch_compiler.py # # # # Copyright 2013, Monash University # # # # This file is part of the program runmanager, in the labscript # # suite (see http://labscriptsuite.org), and is licensed under the # # Simplified BSD License. See the license.txt file in the root of # # the project for the full license. # # # ##################################################################### import sys from zprocess import setup_connection_with_parent to_parent, from_parent, kill_lock = setup_connection_with_parent(lock = True) import labscript import labscript_utils.excepthook from labscript_utils.modulewatcher import ModuleWatcher class BatchProcessor(object): def __init__(self, to_parent, from_parent, kill_lock): self.to_parent = to_parent self.from_parent = from_parent self.kill_lock = kill_lock self.mainloop() def mainloop(self): while True: