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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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