Skip to main content

Python module for controlling West Mountain Radio CBA devices.

Project description

wmr_cba

wmr_cba is a Python library for controlling a West Mountain Radio CBAIV.

libusb is used, tested in both Linux and Windows. A simple Linux udev rules file is provided, as well as a Windows libusb WinUSB driver. See the /drivers/ folders of the GitHub repo for these files. Windows users can also use the Windows drivers provided by West Mountain Radio, achieved by ctyping the West Mountain Radio driver DLLs.

This was developed by following the SDK of the CBAIV provided by West Mountain Radio.

How to use

The package can be installed using pip:

pip install wmr_cba

Some example code:

from wmr_cba import wmr_cba

cba = wmr_cba.CBA4()
cba.do_start(1.0)
time.sleep(5)
print("Measured voltage under 1 Amp load: "+str(cba.get_voltage()))
cba.do_stop()
cba.close()

License

wmr_cba is released under the MIT License. See LICENSE for more information.

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

wmr_cba-1.2.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wmr_cba-1.2.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file wmr_cba-1.2.0.tar.gz.

File metadata

  • Download URL: wmr_cba-1.2.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for wmr_cba-1.2.0.tar.gz
Algorithm Hash digest
SHA256 d01eee5da4ead458f1c7479ad2f29fcf60e1fbb724a6811994557644dac8aa49
MD5 a1d615b80fd3fdee826227fed0d13f39
BLAKE2b-256 8c80f09831fcc2b117df114feff468583f666ba3421d6038369250aa3856db7c

See more details on using hashes here.

File details

Details for the file wmr_cba-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: wmr_cba-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for wmr_cba-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 467319abdfa3da6156be7482e725e9272b117d896bbe7a91465d0b0ae283efbc
MD5 8e996cd7cca0b5faa358609f08392fba
BLAKE2b-256 1dda7b59fc3edcedecf271efd813ae3064bb0595f081e5a4ce99c75a1ba85dc0

See more details on using hashes here.

Supported by

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