Skip to main content

Module client

Module client 

Source
Expand description

Python client wrappers — sync-only for phase 1.

Structs§

PyClient
High-level PVAccess client: get/put/monitor/subscribe/info/pvlist. Client() uses broadcast-search defaults; Client.builder() configures. Operations raise the SpviritError hierarchy.
PyClientBuilder
Builder for Client. Defaults: TCP 5075, UDP 5076, timeout 5.0 s, broadcast search enabled.
PyDiscoveredServer
A server found by discover_servers(): .guid (12-byte bytes) and .tcp_addr ("ip:port").
PyGetResult
Result of a get operation: .pv_name, .value (decoded Python value), .raw_pva (raw PVA frame bytes), .raw_pvd (raw pvData body bytes).
PySubscription
Handle to a non-blocking monitor started with Client.subscribe.

Functions§

py_discover_servers
Discover PVA servers on the network via UDP broadcast search.