Skip to main content

Channel Access client library

Project description

This library contains the low-level bindings to the libca library and an high-level thread-safe interface for ease of use.

For the server implementation see channel_access.server.

Installation

Before installing the library, the environment variables EPICS_BASE and EPICS_HOST_ARCH must be set.

Then the library can be installed with pip:

pip install channel_access.client

Examples

Examples are located in the examples directory.

The simple.py example monitors a single process value and outputs the contents of the data dictionary:

python examples/simple.py test-pv

Get the source

The source code is available in a Github repository:

git clone https://github.com/delta-accelerator/channel_access.client

Documentation

The documentation for the last version is available online.

The documentation can also be generated from the source code with sphinx. The package must be installed prior to building the documentation:

cd /path/to/repository
pip install .
python setup.py build_sphinx

Then open build/sphinx/html/index.html.

Tests

Tests are run with pytest:

cd /path/to/repository
pytest -v

To run the tests for all supported version use tox:

cd /path/to/repository
tox

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

channel_access.client-0.1.2.tar.gz (23.3 kB view hashes)

Uploaded Source

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