CustomArduinoDevice package

Submodules

CustomArduinoDevice.blacs_tabs module

The file that generates the GUI for the CustomArduinoDevice.

We only have a blank GUI. So it really just binds to the worker here.

class CustomArduinoDevice.blacs_tabs.CustomArduinoDeviceTab(notebook, settings, restart=False)[source]

Bases: blacs.device_base_class.DeviceTab

The class behind the GUI. It inherits from DeviceTab.

settings

Not sure here.

worker

Not sure here.

initialise_workers()[source]

Connects the Tab to the worker.

Not sure about the details to be honest.

Parameters

self – Anything else?

Returns

Nothing really. Just does the binding.

CustomArduinoDevice.blacs_workers module

CustomArduinoDevice.connectiontable_custumarduinodevice module

CustomArduinoDevice.labscript_devices module

CustomArduinoDevice.register_classes module

Register the CustomArduinoDevice to blacs.

This is boilerplate and should be only minimally changed.

CustomArduinoDevice.simSerialPort module

Simulate the serial port for the CustomArduinoDevice.

Sometimes you do not have the real Arduino at hand. So here, we just simulate its response for simpler testing remotely.

CustomArduinoDevice.simSerialPort.test_serial()[source]

The function that initializes the serial port.

Returns

Nothing really. Just sets things up.

Module contents

The module to control the Arno tower.

Our class to control the Arno tower. It has no GUI, but just an interface to be executed for different shots.

Typical usage example:

CustomArduinoDevice(‘arduino_0’, com_port=”/dev/ttys004”)