Device¶
-
class
labscript.Device(name, parent_device, connection, call_parents_add_device=True, added_properties={}, gui=None, worker=None, start_order=None, stop_order=None, **kwargs)[source]¶ Bases:
object-
__init__(name, parent_device, connection, call_parents_add_device=True, added_properties={}, gui=None, worker=None, start_order=None, stop_order=None, **kwargs)[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
get_properties(location=None)[source]¶ Get all properties in location
If location is None we return all keys
-
set_properties(properties_dict, property_names, overwrite=False)[source]¶ Add one or a bunch of properties packed into properties_dict
- property_names is a dictionary {key:val, …} where each val
is a list [var1, var2, …] of variables to be pulled from properties_dict and added to the property with name key (it’s location)
-
property
t0¶ The earliest time output can be commanded from this device at the start of the experiment. This is nonzeo on secondary pseudoclock devices due to triggering delays.
-