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.
Source Distribution
File details
Details for the file luxx_communication-0.1.4.tar.gz
.
File metadata
- Download URL: luxx_communication-0.1.4.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1d17c8bcad43551df5962c5d821288d12f938f568a010c9e87327e9816b5d0f |
|
MD5 | f91b9f1f95ff0f55ec17c3abcdb6eb4a |
|
BLAKE2b-256 | b50507748a8435ac5f9ea9ad0dffbced091c8cc6ee1c922a310e3760878c27e3 |