PseudoclockDevice

class labscript.PseudoclockDevice(name, trigger_device=None, trigger_connection=None, **kwargs)[source]

Bases: labscript.labscript.TriggerableDevice

__init__(name, trigger_device=None, trigger_connection=None, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

do_checks(outputs)[source]

Basic error checking to ensure the user’s instructions make sense

get_properties(location=None)

Get all properties in location

If location is None we return all keys

set_properties(properties_dict, property_names, overwrite=False)

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.

trigger(t, duration, wait_delay=0)[source]

Ask the trigger device to produce a digital pulse of a given duration to trigger this pseudoclock