microscope.lasers.obis module

class microscope.lasers.obis.ObisLaser(com, baud=115200, timeout=0.5, **kwargs)[source]

Bases: microscope.abc.SerialDeviceMixin, microscope.abc.Laser

disable()[source]

Turn the laser OFF. Return True if we succeeded, False otherwise.

enable()[source]

Turn the laser ON. Return True if we succeeded, False otherwise.

get_is_on()[source]

Return True if the laser is currently able to produce light.

get_status()[source]

Query and return the laser status.

initialize()[source]

Initialize the device.

is_alive()[source]

Query if device is alive and we can send messages.