Skip to main content

Module for control of Omicron LuxX laser

Project description

This module provides framework for communication with Omicron LuxX laser, connected to the computer via serial interface (RS-232 or USB). You can import it into your interpreter (e.g. IPython) and control laser with simple self-explanatory statemens. Other option is to integrate it into some kind of program, which allows flexible device control. Typical usage often looks like this:

#!/usr/bin/env python

from luxx_communication import Laser

laser = Laser(port="/dev/ttyUSB0")
laser.set_power(10)         # 10 mW
laser.set_mode("CW-ACC")    # Auto current control
laser.start()               # Start light emission

Other Omicron lasers (BrixX and PhoxX) are controlled in a similar manner, and this module should be able to control them right away. However, they were never tested. These lasers have some additional functions, support for which can be easily added into this module.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for luxx_communication, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size luxx_communication-0.1.4.tar.gz (18.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page