RFblaster

Another pseudoclock-cable labscript device.

Detailed Documentation

class labscript_devices.RFBlaster.MultiPartForm[source]

Bases: object

Accumulate the data to be used when posting a form.

add_field(name, value)[source]

Add a simple field to the form data.

add_file_content(fieldname, filename, body, mimetype=None)[source]
get_content_type()[source]
class labscript_devices.RFBlaster.RFBlaster(name, ip_address, trigger_device=None, trigger_connection=None)[source]

Bases: PseudoclockDevice

Instantiates a pseudoclock device.

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

  • trigger_device (DigitalOut) – Sets the parent triggering output. If None, this is considered the master pseudoclock.

  • trigger_connection (str, optional) – Must be provided if trigger_device is provided. Specifies the channel of the parent device.

  • **kwargs – Passed to TriggerableDevice.__init__().

add_device(device)[source]

Adds a child device to this device.

Parameters:

device (Device) – Device to add.

Raises:

LabscriptError – If device is not an allowed child of this device.

allowed_children = [<class 'labscript_devices.RFBlaster.RFBlasterPseudoclock'>]

Defines types of devices that are allowed to be children of this device.

Type:

list

clock_limit = 500000.0
clock_resolution = 1.3333333333333334e-08
description = 'RF Blaster Rev1.1'

Brief description of the device.

property direct_outputs
generate_code(hdf5_file)[source]

Generate hardware instructions for device and children, then save to h5 file.

Will recursively call generate_code for all children devices.

Parameters:

hdf5_file (h5py.File) – Handle to shot file.

property pseudoclock
trigger_delay = 0.00087375
wait_day = 0.00087375
class labscript_devices.RFBlaster.RFBlasterDirectOutputs(name, parent_device, **kwargs)[source]

Bases: IntermediateDevice

Provides some error checking to ensure parent_device is a ClockLine.

Calls Device.__init__().

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

  • parent_device (ClockLine) – Parent ClockLine device.

add_device(device)[source]

Adds a child device to this device.

Parameters:

device (Device) – Device to add.

Raises:

LabscriptError – If device is not an allowed child of this device.

allowed_children = [<class 'labscript.labscript.DDS'>]

Defines types of devices that are allowed to be children of this device.

Type:

list

clock_limit = 500000.0
description = 'RFBlaster Direct Outputs'

Brief description of the device.

class labscript_devices.RFBlaster.RFBlasterPseudoclock(name, pseudoclock_device, connection, **kwargs)[source]

Bases: Pseudoclock

Creates a Pseudoclock.

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

  • pseudoclock_device (PseudoclockDevice) – Parent pseudoclock device

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

  • **kwargs – Passed to Device().

add_device(device)[source]

Adds a child device to this device.

Parameters:

device (Device) – Device to add.

Raises:

LabscriptError – If device is not an allowed child of this device.

class labscript_devices.RFBlaster.RFBlasterTab(notebook, settings, restart=False)[source]

Bases: DeviceTab

get_child_from_connection_table(parent_device_name, port)[source]
initialise_GUI()[source]
labscript_device_class_name = 'RFBlaster'
transition_to_manual(*args, **kwargs)
class labscript_devices.RFBlaster.RFBlasterWorker(*args, **kwargs)[source]

Bases: Worker

abort_buffered()[source]
abort_transition_to_buffered()[source]
check_remote_values()[source]
get_web_values(page)[source]
http_request(form=None)[source]

Make a HTTP request to the RFBlaster, optionally submitting a form

init()[source]
program_manual(values)[source]
restart_kloned(respawn_netcat=True)[source]
shutdown()[source]
transition_to_buffered(device_name, h5file, initial_values, fresh)[source]
transition_to_manual()[source]