OBIS Laser Controller
Controller for OBIS Lasers.
The controller is built off of the easy_scpi. For more info about running custom commands, consult it's documentation.
Methods
-
ObisLaserController( port, timeout = 5, auto_off = True ): Creates a new laser controller on the given port. [Inherits from easy_scpi.Instrument]
-
on(): Turns the laser on.
-
off(): Turns the laser off.
-
set_power( power = 0 ): Sets the laser's power.
Properties
-
nominal_power: Nominal power of the laser.
-
max_power: Maximum power of the laser.
-
min_power: Minimum power of the laser.
-
wavelength: Wavelength of the laser.
-
power_rating: Power rating of the laser.
-
power: Present output power of the laser.
-
current: Present output current of the laser.
-
enabled(): Returns if the laser is on or off.
Example
from obis_laser_controller import ObisLaserController
# create laser controller and connect to device
laser = ObisLaserController( 'COM16' )
laser.connect()
# set power to half of nominal and turn on
laser.set_power( laser.nominal_power / 2 )
laser.on()
# turn laser off and disconnect
# NOTE: By default the laser will turn off when disconnected.
laser.off()
laser.disconnect()
Metadata
Release files for obis-laser-controller 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| obis-laser-controller-0.0.1.tar.gz | 2.9 kB | Without provenance | Details for obis-laser-controller-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| obis_laser_controller-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for obis_laser_controller-0.0.1-py3-none-any.whl |
Total release size: 18.5 kB
Release files / obis-laser-controller-0.0.1.tar.gz
| Download URL | obis-laser-controller-0.0.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a799a1e9eb770ca151474d9315891922793575da102409f52ed9f8d575ff6071
|
|
BLAKE2b-256 checksum How to use checksums |
39b81849b68b57431b94fe812a181ef87a59bef71eccd664649b65fbfc0c0d8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|
Release files / obis_laser_controller-0.0.1-py3-none-any.whl
| Download URL | obis_laser_controller-0.0.1-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
628ad2a630702b08f2c8b0681e2e58de7f025dfb3cf9356907897ecfe033914e
|
|
BLAKE2b-256 checksum How to use checksums |
fefd4161941e8f7146ffd88be79966c8e867a63a11771e2340d1b7dea3db1f3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|
Security for obis-laser-controller 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.