Python TwinCAT ADS async tools
Project description
Asyncio (or sans-i/o) TwinCAT AMS/ADS testing server in pure Python.
… and maybe a prototype client, too.
Requirements
Python 3.9+
(Optional) pytmc (for loading .tmc files in the server)
Server Functionality
Reference asyncio implementation.
Loads .tmc files for symbol information (basic types only).
Supports read, write, read/write of symbols (by handle or name).
Supports ‘sum up’ bulk reads (by way of read_write).
Pretends to create/delete notifications (not yet working)
Client Functionality
Preliminary symbol, handle, and notification support
LOGGER port message decoding
Shortcuts for common information (project/application/task names, task count)
Ability to easily prune unknown notification handles
Automatic reconnection
Log system configuration
Installation
$ git clone git@github.com:pcdshub/ads-async $ cd ads-async $ pip install .
Running the Tests
$ pip install pytest $ pytest -vv ads_async/tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ads-async-0.3.1.tar.gz
.
File metadata
- Download URL: ads-async-0.3.1.tar.gz
- Upload date:
- Size: 109.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0a6593ad8af7b89a3b8c8f9e2f66696ba9ceb85165194773a8777e02fc26777 |
|
MD5 | 4092d54356aa214271500d3e596bbfac |
|
BLAKE2b-256 | f585e1e9c62b7585d1517f2515cdaa6d89f302d6ee62fb88541657ec9fff7396 |
File details
Details for the file ads_async-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: ads_async-0.3.1-py3-none-any.whl
- Upload date:
- Size: 110.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 756a1f01b63b027a43bd594f48c0243f3448f3a94eaff6145b6029da1aeb9478 |
|
MD5 | 5d3d01c1555a00044602c5ce0709df7d |
|
BLAKE2b-256 | 6500585a5e68b2811e9c3e28b6b3040eb4dbd342241983537cc954ce2b19a7b6 |