Skip to main content

Python TwinCAT ADS async tools

Project description

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

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

ads-async-0.0.2.tar.gz (109.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: ads-async-0.0.2.tar.gz
  • Upload date:
  • Size: 109.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.7

File hashes

Hashes for ads-async-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e949438ef1395b2b5e5c4e912b343f5d7f34bf9ad2ab0f6c22eb7d76c5cc2d53
MD5 1b2d05438d4b0621243a41b8afbcdd5a
BLAKE2b-256 fbf7f3ba49def4a81d7ddf9266bb5baf8bf15e20327075af02496d4afbf98a69

See more details on using hashes here.

Provenance

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