Asyncio (or sans-i/o) TwinCAT AMS/ADS testing server in pure Python.
… and maybe a prototype client, too.
Requirements
Python 3.6+
(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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ads-async-0.1.2.tar.gz.
File metadata
- Download URL: ads-async-0.1.2.tar.gz
- Upload date:
- Size: 112.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
749b565db2808363b47a5f43efcf0229c743208c68ce7d5e943d0b367c3f67c5
|
|
| MD5 |
5658e08b1fb58d0464dd358013240558
|
|
| BLAKE2b-256 |
0734bd904379fe92d2f67ef9556760f1e2d0df5505977d7fd1bc05bf69b542e8
|