Dummy Pseudoclock

This device represents a dummy labscript device for purposes of testing BLACS and labscript. The device is a PseudoclockDevice, and can be the sole device in a connection table or experiment.

labscript_devices.DummyPseudoclock.labscript_devices

labscript_devices.DummyPseudoclock.blacs_tabs

labscript_devices.DummyPseudoclock.blacs_workers

labscript_devices.DummyPseudoclock.runviewer_parsers

Usage

from labscript import *

from labscript_devices.DummyPseudoclock.labscript_devices import DummyPseudoclock
from labscript_devices.DummyIntermediateDevice import DummyIntermediateDevice

DummyPseudoclock(name='dummy_clock',BLACS_connection='dummy')
DummyIntermediateDevice(name='dummy_device',BLACS_connection='dummy2',
                                                parent_device=dummy_clock.clockline)

start()
stop(1)

Detailed Documentation

class labscript_devices.DummyPseudoclock.labscript_devices.DummyPseudoclock(name='dummy_pseudoclock', BLACS_connection='dummy_connection', **kwargs)[source]

Bases: labscript.labscript.PseudoclockDevice

add_device(device)[source]
allowed_children = [<class 'labscript_devices.DummyPseudoclock.labscript_devices._DummyPseudoclock'>]
clock_limit = 10000000.0
clock_resolution = 2.5e-08
property clockline
description = 'Dummy pseudoclock'
generate_code(hdf5_file)[source]
max_instructions = 100000.0
property pseudoclock
trigger_delay = 3.5e-07
wait_delay = 2.5e-06
class labscript_devices.DummyPseudoclock.labscript_devices._DummyPseudoclock(name, pseudoclock_device, connection, **kwargs)[source]

Bases: labscript.labscript.Pseudoclock

add_device(device)[source]
class labscript_devices.DummyPseudoclock.blacs_tabs.DummyPseudoclockTab(notebook, settings, restart=False)[source]

Bases: blacs.device_base_class.DeviceTab

initialise_workers()[source]
start_run(*args, **kwargs)
wait_until_done(*args, **kwargs)
class labscript_devices.DummyPseudoclock.blacs_workers.DummyPseudoclockWorker(*args, **kwargs)[source]

Bases: blacs.tab_base_classes.Worker

abort_buffered()[source]
check_if_done()[source]
program_manual(values)[source]
shutdown()[source]
transition_to_buffered(device_name, h5file, initial_values, fresh)[source]
transition_to_manual()[source]
class labscript_devices.DummyPseudoclock.runviewer_parsers.DummyPseudoclockParser(path, device)[source]

Bases: object

clock_resolution = 2.5e-08
get_traces(add_trace, clock=None)[source]
trigger_delay = 3.5e-07
wait_delay = 2.5e-06