Skip to main content

Python Client for LADS OPC UA Server

Create a connection to the LADS Server using the server URL:

conn = Connection("your_server_url")

Start the connection to the server:

conn.connect()

Get the server object of the Connection class

serv = conn.server

Get the LADS Device list that is present in the LADS Server DeviceSet

devices = serv.devices

For a Device 'i' the list of Functional Units present inside that Device can be retrieved as

fu = devices[i].functional_units

The Function Set present inside a Functional Unit 'k' can be accessed as

fs = fu[k].function_set

The list of Functions present inside the Function Set can be retrieved as

funcs = fs.functions

Please be aware, that LADS specifies numerous function types, representing e.g. sensors, controllers, timers, lids/doors and so on. For further information refer to the specification and the workshop example.

Variables, methods and objects of a function can be easily accessed as properties, e.g. the Sensor Value of a Sensor Function 'j' can be accessed as

value = funcs[j].sensor_value.value

The connection to the server can be disconnected as

conn.disconnect()



Release files for lads-opcua-client 0.1.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 lads-opcua-client 0.1.0
File Size Uploaded
lads_opcua_client-0.1.0.tar.gz 232.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lads-opcua-client 0.1.0
File Interpreter ABI Platform
lads_opcua_client-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 466.4 kB

Release files / lads_opcua_client-0.1.0.tar.gz

Download URL lads_opcua_client-0.1.0.tar.gz
Size 232.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b339cfb8e44864bdd7a041c747edafa56b3cdb18ce423db9982707dd5d8ed978
BLAKE2b-256 checksum
How to use checksums
ce19fc030e76484255e13881f741767bacdde28a8de0f7ab5b56c8f56804987b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release files / lads_opcua_client-0.1.0-py3-none-any.whl

Download URL lads_opcua_client-0.1.0-py3-none-any.whl
Size 234.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db192fea98b00d704d38708f7661dafe78c925a7987b06cc51cf480f29a89732
BLAKE2b-256 checksum
How to use checksums
f7bc83685089898c8a9a20444665265f4efd674e08b5918b565b11167078199a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.1

2 release files

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