Exemple #1
0
 def __init__(self, *args, **kwargs):
     """You MUST override this method in order to define the device worker.
     You then call this parent method to finish initialization.
     """
     if not hasattr(self, 'device_worker_class'):
         raise LabscriptError(
             'BLACS worker not set for device: {0:s}'.format(self))
     DeviceTab.__init__(self, *args, **kwargs)
 def __init__(self, *args, **kwargs):
     if not hasattr(self, 'device_worker_class'):
         self.device_worker_class = PulseblasterNoDDSWorker
     DeviceTab.__init__(self, *args, **kwargs)
 def __init__(self,*args,**kwargs):
     if not hasattr(self,'device_worker_class'):
         self.device_worker_class = PulseblasterNoDDSWorker
     DeviceTab.__init__(self,*args,**kwargs)
Exemple #4
0
 def __init__(self,*args,**kwargs):
     if not hasattr(self,'device_worker_class'):
         self.device_worker_class = "naqslab_devices.NovaTechDDS.blacs_worker.NovaTech440AWorker"
     DeviceTab.__init__(self,*args,**kwargs)