Skip to main content
https://img.shields.io/travis/pcdshub/ads-async.svg https://img.shields.io/pypi/v/ads-async.svg

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

ads-async-0.2.0.tar.gz (112.1 kB view details)

Uploaded Source

File details

Details for the file ads-async-0.2.0.tar.gz.

File metadata

  • Download URL: ads-async-0.2.0.tar.gz
  • Upload date:
  • Size: 112.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.1.0.post20200704 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.6

File hashes

Hashes for ads-async-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e22b7d5680175ad69372419b6491cef75e3851425928df1f9d8c0d379c820767
MD5 21fada3fa67e4e12b76c256689962950
BLAKE2b-256 9432398341a4590157970922941406f356a76216c57a695696197dcd4f94ae05

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 Sentry Error logging StatusPage Status page