Control digital input and output of Spectra PowerBox and PowerTwin series industrial PCs
Project description
spectra_dio
Python Module for PowerBox / PowerTwin digital I/O
Installation
pip install spectra_dio
Example Usage
import spectra_dio
dio = spectra_dio.DIO(spectra_dio.IOConfig.from_dmi())
dio.initialize()
# Read digital input status
print(dio.read_di())
# Set digital output DO0 on
dio.write_do(0, True)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
spectra_dio-0.1.1.tar.gz
(18.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spectra_dio-0.1.1.tar.gz.
File metadata
- Download URL: spectra_dio-0.1.1.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.9.3 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
770ff08dcb8d04f4d7da64e135ea2627b6314eb21babbdba3b4239c586c0e65f
|
|
| MD5 |
5efe8ad1c5468e8082d72df58b2bdbc7
|
|
| BLAKE2b-256 |
a381d74b4b69bc379277d97a468f073899b00ed08c27b157cb8c1c4a0172a23e
|
File details
Details for the file spectra_dio-0.1.1-py3-none-any.whl.
File metadata
- Download URL: spectra_dio-0.1.1-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.9.3 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21aeb7c729daf8858f8223a5496f75b58f965c6fb57c63950730f3d0620aca3a
|
|
| MD5 |
6fee745acdc581d25c7e1c543094abdf
|
|
| BLAKE2b-256 |
02a5e194b01926b6da8147d9d405d8d202c3a95f3ca3a89ef0fa4f6ce083e085
|