Skip to main content

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.

Metadata

Release files for wmr-cba 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wmr-cba 1.2.0
File Size Uploaded
wmr_cba-1.2.0.tar.gz 12.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wmr-cba 1.2.0
File Interpreter ABI Platform
wmr_cba-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.8 kB

Release files / wmr_cba-1.2.0.tar.gz

Download URL wmr_cba-1.2.0.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d01eee5da4ead458f1c7479ad2f29fcf60e1fbb724a6811994557644dac8aa49
BLAKE2b-256 checksum
How to use checksums
8c80f09831fcc2b117df114feff468583f666ba3421d6038369250aa3856db7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / wmr_cba-1.2.0-py3-none-any.whl

Download URL wmr_cba-1.2.0-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
467319abdfa3da6156be7482e725e9272b117d896bbe7a91465d0b0ae283efbc
BLAKE2b-256 checksum
How to use checksums
1dda7b59fc3edcedecf271efd813ae3064bb0595f081e5a4ce99c75a1ba85dc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page