Motion Master Bindings
This package contains Python bindings for the Synapticon Motion Master, a lightweight master controller for EtherCAT devices.
Motion Master v3.x is supported. This package does not support previous versions.
Installation
Using virtualenv or Python3's venv is recommended.
To install from PyPi, run
$ pip install motion-master-bindings
Documentation
The Motion Master branch of the documentation department is currently working on something better, but here's an example to get you started.
from motion_master_bindings.motion_master_bindings import MotionMasterBindings
from motion_master_proto.motion_master_pb2 import MotionMasterMessage
mmb = MotionMasterBindings('127.0.0.1')
mmb.connect()
mmb.get_dealer_subject().subscribe(
lambda message: print("Message: {}".format(message)))
message = MotionMasterMessage()
message.request.get_system_version.SetInParent()
mmb.send_message(message)
You should get a response printed from the DEALER subject:
Message: [b'\xb2\x06\x12\xb2\x06\x0f\n\r3.0.0-alpha.1']
Release files for motion-master-bindings 4.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| motion_master_bindings-4.7.2.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| motion_master_bindings-4.7.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / motion_master_bindings-4.7.2.tar.gz
| Download URL | motion_master_bindings-4.7.2.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65cbfe97604f6cf88ef3fa8acee7c11f9a9a30c31b42ab7fcec5a910eed69bf1
|
|
BLAKE2b-256 checksum How to use checksums |
f409ff0e291c151acdb785b09f11aeca608addc6d1f7dd47b9ae757d577d9c9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.9
|
Release files / motion_master_bindings-4.7.2-py3-none-any.whl
| Download URL | motion_master_bindings-4.7.2-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e458133f0a60ac231fac0c92200834ee09640042952dc239ec5ca50f55af426f
|
|
BLAKE2b-256 checksum How to use checksums |
943392865d0819ff2d991efbebf348ac726306f9c3ecb455a73ae0525912df59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.9
|