Skip to main content

Python module to interact with the ArC Instruments Digital Control Module

Project description

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)

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

arcdico-1.0.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

arcdico-1.0.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file arcdico-1.0.0.tar.gz.

File metadata

  • Download URL: arcdico-1.0.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for arcdico-1.0.0.tar.gz
Algorithm Hash digest
SHA256 288824c7e2b581b929db28b769bec65f7bcc61cdee4e108beb4d69bb91bf75b0
MD5 3245544c0d9b931c942e12e68d17fd6f
BLAKE2b-256 97e8c52edf5f4301331d17eef0d5f8e2970988572c59a708c333a36b6480a88d

See more details on using hashes here.

File details

Details for the file arcdico-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: arcdico-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for arcdico-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ae212772f42c9d179d8127adb588f823e5b2290ef76a7dc5353a64e8a51b5f9
MD5 a0439cbcb3d377b2b9ddb741b0168724
BLAKE2b-256 ad3851ad3b1eb5d45d36556bdf051116287bc23337ab7a9a8eb3f875621c5e86

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page