def __init__(self, aitModule): ModuleRow.__init__(self, module=aitModule, actorName='seqno', actorLabel='SEQNO') self.visit = ValueGB(self, 'visit', 'VisitId', 0, '{:g}')
def __init__(self, spsModule, smId): ModuleRow.__init__(self, module=spsModule, actorName='sps', actorLabel='SPS') self.smId = smId self.specLabel = SpecLabel(self, smId) self.lightSource = ValueMRow(self, f'sm{smId}LightSource', 'Light Source', 0, '{:s}') self.createDialog(SpsDialog(self))
def __init__(self, spsModule, roughName): ModuleRow.__init__(self, module=spsModule, actorName=f'{roughName}', actorLabel=f'{roughName.upper()}') self.warning = ValueMRow(self, 'pumpWarnings', 'Warnings', 1, '{:s}', controllerName='pump') self.errors = ValueMRow(self, 'pumpErrors', 'Errors', 1, '{:s}', controllerName='pump') self.speed = ValueMRow(self, 'pumpSpeed', 'Speed', 0, '{:g}', controllerName='pump') self.pressure = ValueMRow(self, 'pressure', 'Pressure(Torr)', 0, '{:g}', controllerName='gauge') self.controllers = Controllers(self) self.createDialog(RoughDialog(self))
def __init__(self, camRow): self.camRow = camRow ModuleRow.__init__(self, module=camRow.module, actorName='ccd_%s%i' % (camRow.arm, camRow.module.smId), actorLabel='CCD') self.substate = CcdState(self) self.controllers = Controllers(self) self.actorStatus.button.setEnabled(False)
def __init__(self, camRow): self.camRow = camRow ModuleRow.__init__(self, module=camRow.module, actorName='xcu_%s%i' % (camRow.arm, camRow.module.smId), actorLabel='XCU') self.cryoMode = ValueMRow(self, 'cryoMode', 'cryoMode', 0, '{:s}', controllerName='') self.temperature = DetectorTemp(self) self.pressure = ValueMRow(self, 'pressure', 'Pressure(Torr)', 0, '{:g}', controllerName='PCM') self.twoIonPumps = TwoIonPumps(self) self.controllers = Controllers(self) self.actorStatus.button.setEnabled(False)
def __init__(self, aitModule): ModuleRow.__init__(self, module=aitModule, actorName='breva', actorLabel='BREVA') self.state = ValueMRow(self, 'hexaFSM', '', 0, '{:s}') self.substate = ValueMRow(self, 'hexaFSM', '', 1, '{:s}') self.motorState = MotorState(self) self.error = ValueMRow(self, 'error', 'ERROR', 0, '{:g}') self.fiberTargeted = ValueMRow(self, 'targetedFiber', 'Fiber', 0, '{:s}') self.createDialog(BrevaDialog(self))
def __init__(self, spsModule, name='dcb'): ModuleRow.__init__(self, module=spsModule, actorName=name, actorLabel=name.upper()) self.state = ValueMRow(self, 'metaFSM', '', 0, '{:s}') self.substate = ValueMRow(self, 'metaFSM', '', 1, '{:s}') self.hgar = SwitchMRow(self, 'hgar', 'Hg-Ar', 0, '{:g}', controllerName='sources') self.neon = SwitchMRow(self, 'neon', 'Neon', 0, '{:g}', controllerName='sources') self.krypton = SwitchMRow(self, 'krypton', 'Krypton', 0, '{:g}', controllerName='sources') self.argon = SwitchMRow(self, 'argon', 'Argon', 0, '{:g}', controllerName='sources') self.qth = SwitchMRow(self, 'halogen', 'QTH', 0, '{:g}', controllerName='sources') self.linewheel = ValueMRow(self, 'linewheel', 'Line Wheel', 1, '{:s}') self.qthwheel = ValueMRow(self, 'qthwheel', 'QTH Wheel', 1, '{:s}') self.adc1 = ValueMRow(self, 'adc', 'ADC 1', 0, '{:4f}') self.adc2 = ValueMRow(self, 'adc', 'ADC 2', 1, '{:4f}') self.rows = [RowOne(self), RowTwo(self)] self.controllers = Controllers(self) self.createDialog(DcbDialog(self))
def __init__(self, specModule): ModuleRow.__init__(self, module=specModule, actorName='enu_sm%i' % specModule.smId, actorLabel='ENU') self.state = ValueMRow(self, 'metaFSM', '', 0, '{:s}') self.substate = Substate(self) self.rexm = ValueMRow(self, 'rexm', 'Red Resolution', 0, '{:s}', controllerName='rexm') self.slit = ValueMRow(self, 'slitPosition', 'Slit', 0, '{:s}', controllerName='slit') self.shutters = ValueMRow(self, 'shutters', 'Shutters', 0, '{:s}', controllerName='biasha') self.bia = ValueMRow(self, 'bia', 'BIA', 0, '{:s}', controllerName='biasha') self.controllers = Controllers(self) self.createDialog(EnuDialog(self))
def __init__(self, aitModule): ModuleRow.__init__(self, module=aitModule, actorName='aten', actorLabel='ATEN') self.state = ValueMRow(self, 'metaFSM', '', 0, '{:s}') self.substate = ValueMRow(self, 'metaFSM', '', 1, '{:s}') self.labsphere = SwitchMRow(self, 'labsphere', 'Labsphere', 0, '{:g}', controllerName='pdu') self.roughpump = SwitchMRow(self, 'roughpump', 'Rough pump', 0, '{:g}', controllerName='pdu') self.roughpump2 = SwitchMRow(self, 'roughpump2', 'Rough pump 2', 0, '{:g}', controllerName='pdu') self.regenheater = SwitchMRow(self, 'regenheater', 'Regen-Heater', 0, '{:g}', controllerName='pdu') self.neon = SwitchMRow(self, 'neon', 'Neon', 0, '{:g}', controllerName='aten') self.xenon = SwitchMRow(self, 'xenon', 'Xenon', 0, '{:g}', controllerName='aten') self.hgar = SwitchMRow(self, 'hgar', 'Hg-Ar', 0, '{:g}', controllerName='aten') self.krypton = SwitchMRow(self, 'krypton', 'Krypton', 0, '{:g}', controllerName='aten') self.argon = SwitchMRow(self, 'argon', 'Argon', 0, '{:g}', controllerName='aten') self.deuterium = SwitchMRow(self, 'deuterium', 'Deuterium', 0, '{:g}', controllerName='aten') self.qth = SwitchMRow(self, 'halogen', 'QTH', 0, '{:g}', controllerName='labsphere') self.photodiode = ValueMRow(self, 'photodiode', 'photodiode', 0, '{:g}', controllerName='labsphere') self.attenuator = AttenuatorValue(self, fontSize=styles.bigFont) self.rows = [RowOne(self), RowTwo(self)] self.controllers = Controllers(self) self.createDialog(AtenDialog(self))
def setOnline(self): ModuleRow.setOnline(self) self.camRow.setOnline()