Devices: added bec worker and aerotech controller initialization in devices.py
This commit is contained in:
@@ -12,14 +12,14 @@ from aare.common.beamline import MXBeamline
|
||||
from aare.common.coordinate import SmargonCoordinate, AerotechCoordinate
|
||||
from aare.common.logger_config import setup_logger
|
||||
from aare.common.models import SampleCameraSettings, StagePositionEnum
|
||||
from aare.devices import smargon#, aerotech
|
||||
from aare.devices import smargon, aerotech
|
||||
from aare.devices.area_detector import epicsAD, AutoEnum
|
||||
from aare.devices.enum_pv import EnumPV
|
||||
from aare.devices.my_motor import MyMotor
|
||||
|
||||
from aare.devices.set_get_pv import SetGetPV, PredefinedPV
|
||||
from aare.devices.tell_client import make_tell_client
|
||||
# from aare.devices.bec_worker import BECClientWorker
|
||||
from aare.devices.bec_worker import BECClientWorker
|
||||
|
||||
logger = setup_logger("aareDAQ")
|
||||
|
||||
@@ -27,10 +27,9 @@ class BeamlineDevices:
|
||||
def __init__(self, beamline: MXBeamline):
|
||||
BEAMLINE = beamline.value.upper()
|
||||
self.tell = make_tell_client(beamline)
|
||||
# self.aerotech = aerotech.AerotechController(beamline)
|
||||
# #self.aerotech = None
|
||||
# logger.debug("initialising BEC worker")
|
||||
# self.bec_worker = BECClientWorker(beamline)
|
||||
self.aerotech = aerotech.AerotechController(beamline)
|
||||
logger.debug("initialising BEC worker")
|
||||
self.bec_worker = BECClientWorker(beamline)
|
||||
logger.debug("initialising BEC worker done")
|
||||
self.__smargon = smargon.Smargon(beamline)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user