11#####################################################################
22# #
3- # /labscript_devices/DummyDevice .py #
3+ # /labscript_devices/DummyPseudoclock .py #
44# #
55# Copyright 2017, Joint Quantum Institute #
66# #
2020from labscript import PseudoclockDevice
2121
2222@labscript_device
23- class DummyDevice (PseudoclockDevice ):
23+ class DummyPseudoclock (PseudoclockDevice ):
2424
25- description = 'Dummy device '
25+ description = 'Dummy pseudoclock '
2626 clock_limit = 1e6
2727
28- def __init__ (self , name = 'dummy_device ' , BLACS_connection = 'dummy_connection' , ** kwargs ):
28+ def __init__ (self , name = 'dummy_pseudoclock ' , BLACS_connection = 'dummy_connection' , ** kwargs ):
2929 self .BLACS_connection = BLACS_connection
3030 PseudoclockDevice .__init__ (self , name , None , None , ** kwargs )
3131
@@ -38,18 +38,18 @@ def generate_code(self, hdf5_file):
3838
3939
4040@BLACS_tab
41- class DummyDeviceTab (DeviceTab ):
41+ class DummyPseudoclockTab (DeviceTab ):
4242 def initialise_workers (self ):
4343 worker_initialisation_kwargs = {}
44- self .create_worker ("main_worker" , DummyDeviceWorker , worker_initialisation_kwargs )
44+ self .create_worker ("main_worker" , DummyPseudoclockWorker , worker_initialisation_kwargs )
4545 self .primary_worker = "main_worker"
4646
4747 @define_state (MODE_BUFFERED , True )
4848 def start_run (self , notify_queue ):
4949 notify_queue .put ('done' )
5050
5151@BLACS_worker
52- class DummyDeviceWorker (Worker ):
52+ class DummyPseudoclockWorker (Worker ):
5353 def program_manual (self , values ):
5454 return {}
5555
@@ -60,4 +60,4 @@ def transition_to_manual(self):
6060 return True
6161
6262 def shutdown (self ):
63- return
63+ return
0 commit comments