ArC Digital Control Module
This is a Python wrapper for the ArC Digital Control (ArC DiCo) serial protocol.
Usage
Usage of the library is fairly straightforward. You only to know the serial port where the DiCo is connected to.
from arcdico import DiCo
dico = DiCo('/dev/ttyUSB0')
# The DiCo will disable all outputs when initially
# powered on but you can do that programmatically by
# using the `reset` function.
dico.reset()
# connect specified pins to the DAC output
dico.set_state(pins=[1, 8, 22])
# set output voltage at 3.50 V
dico.set_state(voltage=3.50)
# or do both
dico.set_state(pins=[1, 8], voltage=2.25)
Metadata
Release files for arcdico 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arcdico-1.0.0.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arcdico-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.4 kB
Release files / arcdico-1.0.0.tar.gz
| Download URL | arcdico-1.0.0.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
288824c7e2b581b929db28b769bec65f7bcc61cdee4e108beb4d69bb91bf75b0
|
|
BLAKE2b-256 checksum How to use checksums |
97e8c52edf5f4301331d17eef0d5f8e2970988572c59a708c333a36b6480a88d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.10.2
|
Release files / arcdico-1.0.0-py3-none-any.whl
| Download URL | arcdico-1.0.0-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ae212772f42c9d179d8127adb588f823e5b2290ef76a7dc5353a64e8a51b5f9
|
|
BLAKE2b-256 checksum How to use checksums |
ad3851ad3b1eb5d45d36556bdf051116287bc23337ab7a9a8eb3f875621c5e86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.10.2
|