Skip to main content

pydevmgr package dedicated for generic client communication with OPC-UA.

The documentation is in progress.

One may be interested to higher level package such as

Python package to by used as substitute of a real device manager running in a ELT-Software environment when the full ELT-Software environment cannot be used.

Sources are here

Install

> pip install pydevmgr_ua

Basic Usage

from pydevmgr_ua import UaRpc, UaNode, UaCom
from pydevmgr_core.nodes import InsideInterval
import time 

com = UaCom(address="opc.tcp://192.168.1.11:4840", prefix="MAIN")

target = 7.0

move = UaRpc( com=com, suffix="Motor1.RPC_MoveAbs", arg_parsers=[float, float])
pos = UaNode( com=com,  suffix="Motor1.stat.lrPosActual" )
test = InsideInterval( node = pos, min=target-0.1, max=target+0.1 )


try:
    com.connect()
    move.call( 7.0, 1 )
    while not test.get():
        time.sleep(0.1)

    print( "posisiotn is", pos.get() )
finally:
    com.disconnect()

Release files for pydevmgr-ua 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pydevmgr-ua 0.6.0
File Size Uploaded
pydevmgr_ua-0.6.0.tar.gz 11.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pydevmgr-ua 0.6.0
File Interpreter ABI Platform
pydevmgr_ua-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 25.2 kB

Release files / pydevmgr_ua-0.6.0.tar.gz

Download URL pydevmgr_ua-0.6.0.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
231fcc26a3eb257062c6ec520f6049b05786abe1428bd0f6081685ded2eb096e
BLAKE2b-256 checksum
How to use checksums
539540ec92f47b26ccc1e5d41aaad7b5adef15ac223864fe3aaf171598a40f78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.5

Release files / pydevmgr_ua-0.6.0-py3-none-any.whl

Download URL pydevmgr_ua-0.6.0-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c6662343eb893f4540792e1e2a1e9a007a46d6ffe43a03ca56e4cf133b8e22f
BLAKE2b-256 checksum
How to use checksums
ec3efe48924069cc3cb9b9bc8539fc8172bb9e77eb30b98ca3ca6a59b9f67401
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page