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.
Metadata
Release files for luxx_communication 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| luxx_communication-0.1.4.tar.gz | 18.0 kB | Details |
Release files / luxx_communication-0.1.4.tar.gz
| Download URL | luxx_communication-0.1.4.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1d17c8bcad43551df5962c5d821288d12f938f568a010c9e87327e9816b5d0f
|
|
BLAKE2b-256 checksum How to use checksums |
b50507748a8435ac5f9ea9ad0dffbced091c8cc6ee1c922a310e3760878c27e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |