Test Device

A generic test device to aid in testing labscript infrastructure/functionality.

Detailed Documentation

class labscript_devices.test_device.test_device(name, DoSomething=False, **kwargs)[source]

Bases: Device

Creates a Device.

Parameters:
  • name (str) – python variable name to assign this device to.

  • parent_device (Device) – Parent of this device.

  • connection (str) – Connection on this device that links to parent.

  • call_parents_add_device (bool, optional) – Flag to command device to call its parent device’s add_device when adding a device.

  • added_properties (dict, optional) –

  • gui

  • worker

  • start_order (int, optional) – Priority when starting, sorted with all devices.

  • stop_order (int, optional) – Priority when stopping, sorted with all devices.

  • **kwargs – Other options to pass to parent.

description = 'test device'

Brief description of the device.

class labscript_devices.test_device.Tab[source]

Bases: object

labscript_device_class_name = 'test_device'
class labscript_devices.test_device.Worker[source]

Bases: object

class labscript_devices.test_device.Parser[source]

Bases: object

labscript_device_class_name = 'test_device'