1
1
#####################################################################
2
2
# #
3
- # /labscript_devices/DummyDevice .py #
3
+ # /labscript_devices/DummyPseudoclock .py #
4
4
# #
5
5
# Copyright 2017, Joint Quantum Institute #
6
6
# #
20
20
from labscript import PseudoclockDevice
21
21
22
22
@labscript_device
23
- class DummyDevice (PseudoclockDevice ):
23
+ class DummyPseudoclock (PseudoclockDevice ):
24
24
25
- description = 'Dummy device '
25
+ description = 'Dummy pseudoclock '
26
26
clock_limit = 1e6
27
27
28
- def __init__ (self , name = 'dummy_device ' , BLACS_connection = 'dummy_connection' , ** kwargs ):
28
+ def __init__ (self , name = 'dummy_pseudoclock ' , BLACS_connection = 'dummy_connection' , ** kwargs ):
29
29
self .BLACS_connection = BLACS_connection
30
30
PseudoclockDevice .__init__ (self , name , None , None , ** kwargs )
31
31
@@ -38,18 +38,18 @@ def generate_code(self, hdf5_file):
38
38
39
39
40
40
@BLACS_tab
41
- class DummyDeviceTab (DeviceTab ):
41
+ class DummyPseudoclockTab (DeviceTab ):
42
42
def initialise_workers (self ):
43
43
worker_initialisation_kwargs = {}
44
- self .create_worker ("main_worker" , DummyDeviceWorker , worker_initialisation_kwargs )
44
+ self .create_worker ("main_worker" , DummyPseudoclockWorker , worker_initialisation_kwargs )
45
45
self .primary_worker = "main_worker"
46
46
47
47
@define_state (MODE_BUFFERED , True )
48
48
def start_run (self , notify_queue ):
49
49
notify_queue .put ('done' )
50
50
51
51
@BLACS_worker
52
- class DummyDeviceWorker (Worker ):
52
+ class DummyPseudoclockWorker (Worker ):
53
53
def program_manual (self , values ):
54
54
return {}
55
55
@@ -60,4 +60,4 @@ def transition_to_manual(self):
60
60
return True
61
61
62
62
def shutdown (self ):
63
- return
63
+ return
0 commit comments