subscribe
accepts keyword arguments, which are forwarded to the data-server. This allows to configure the subscription to the data-server. Note that as of LabOne 24.10, no node supports yet subscription configuration.
- Fix bug which caused streaming errors to cancel the subscriptions
- Raise severity of errors during subscriptions to
FAILED
to cause a data server log entry.
- Add support for Python 3.13
- Expose timeout from underlying package when creating a new connection. This allows specifying custom timeouts, e.g. when dealing with slow networks
- Enable server side parsing of the shf vectors. This is a breaking change since the structure of the shf vector structs are now unified with the capnp schema.
- Replace the following
labone.core.Value
types with their capnp equivalent:ShfDemodulatorVectorData
,ShfResultLoggerVectorData
,ShfScopeVectorData
,ShfPidVectorData
,CntSample
,TriggerSample
- Move the
extra_header
from the annotated value into the value field. This only affects shf vectors - Adapt the
session.set
andsession.set_with_expression
functions to take either anAnnotatedValue
orValue
and a path. This prevents unnecessary copies. - Add support for
zhinst.comms
3.0 - Update the
hpk_schema
to the latest version. This included stubs for all structs defined in the capnp schema.
- Pump version of
zhinst.comms
to 2.1
- Add missing dependency on setuptools
- Pump version of
zhinst.comms
to 2.0.0 - Deprecate
labone.server
since the logic has been moved tozhinst.comms.server
- Adapt the server module to support closing a running server and run a server forever.
- Pump version of
zhinst.comms
to 1.1.0
- Switch to the custom capnp backend
zhinst.comms
. This fixes the stability issues.
- Introduce
labone.server
which allows spawning capnp servers based on the reflection schema. - Adapt
labone
to latest capnp schema improvements. - Fix bug in
labone.nodetree
that caused the node tree never to be destroyed. The result was that when creating and deleting sessions frequently pycapnp would crash because to many sessions where active at the same time.
- Initial release of the
labone
API. - Full LabOne Session functionality.
- get Value(s)
- set Values(s)
- list nodes
- subscribe
- Async node tree implementation.