microscope.filterwheels.thorlabs module

class microscope.filterwheels.thorlabs.ThorlabsFW102C(com, baud=115200, timeout=2.0, **kwargs)[source]

Bases: microscope.filterwheels.thorlabs.ThorlabsFilterWheel

class microscope.filterwheels.thorlabs.ThorlabsFW212C(com, baud=115200, timeout=2.0, **kwargs)[source]

Bases: microscope.filterwheels.thorlabs.ThorlabsFilterWheel

class microscope.filterwheels.thorlabs.ThorlabsFilterWheel(com, baud=115200, timeout=2.0, **kwargs)[source]

Bases: microscope.devices.FilterWheelBase

Implements FilterServer wheel interface for Thorlabs FW102C.

Note that the FW102C also has manual controls on the device, so clients should periodically query the current wheel position.

_readline()[source]

A custom _readline to overcome limitations of the serial implementation.

_send_command(command)[source]

Send a command and return any result.

get_position()[source]

Public method to query the current position

initialize()[source]

Initialize the device.

set_position(n)[source]

Public method to move to position n.