Toptica FemtoFErb 1560 Laser

Driver for Tobtica FemtoFiber Lasers.

The femtofiber drivers, which among other things make the usb connection appear as a serial port, must be installed (available from http://www.toptica.com/products/ultrafast_fiber_lasers/femtofiber_smart/femtosecond_erbium_fiber_laser_1560_nm_femtoferb)

class instrumental.drivers.lasers.femto_ferb.FemtoFiber(inst=None, **kwds)

A femtoFiber laser.

Lasers can only be accessed by their serial port address.

close()

Closes the connection to the laser.

is_control_on()

Returns the status of the hardware input control.

Hardware input control must be on in order for the laser to be controlled by usb connection.

Returns

message – If True, hardware input conrol is on.

Return type

bool

is_on()

Indicates if the laser is on (True) or off (False).

set_control(control)

Sets the status of the hardware input control.

Hardware input control must be on in order for the laser to be controlled by usb connection.

Parameters

control (bool) – If True, hardware input conrol is turned on.

Returns

error – Zero is returned if the hardware input control status was set correctly. Otherwise, the error string returned by the laser is returned.

Return type

int or str

turn_off()

Turns the laser off.

Note that hardware control must be enabled in order for this method to execute properly.

Returns

error – Zero is returned if the laser was correctly turned off. Otherwise, the error string returned by the laser is returned.

Return type

int or str

turn_on()

Turns the laser on.

Note that hardware control must be enabled in order for this method to execute properly.

Returns

error – Zero is returned if the laser was successfuly turned on. Otherwise, the error string returned by the laser is returned.

Return type

int or str