- Fix bug that caused subscriptions to potentially miss value updates after the subscription was registered but before the subscribe functions returned.
subscribeaccepts 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 error message in data server log if a subscription is cancelled gracefully.
- Adapt mock data server to hand unsubscribe events correctly.
- Fix bug which caused streaming errors to cancel the subscriptions
- Raise severity of errors during subscriptions to
FAILEDto 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.Valuetypes with their capnp equivalent:ShfDemodulatorVectorData,ShfResultLoggerVectorData,ShfScopeVectorData,ShfPidVectorData,CntSample,TriggerSample - Move the
extra_headerfrom the annotated value into the value field. This only affects shf vectors - Adapt the
session.setandsession.set_with_expressionfunctions to take either anAnnotatedValueorValueand a path. This prevents unnecessary copies. - Add support for
zhinst.comms3.0 - Update the
hpk_schemato the latest version. This included stubs for all structs defined in the capnp schema.
- Pump version of
zhinst.commsto 2.1
- Add missing dependency on setuptools
- Pump version of
zhinst.commsto 2.0.0 - Deprecate
labone.serversince 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.commsto 1.1.0
- Switch to the custom capnp backend
zhinst.comms. This fixes the stability issues.
- Introduce
labone.serverwhich allows spawning capnp servers based on the reflection schema. - Adapt
laboneto latest capnp schema improvements. - Fix bug in
labone.nodetreethat 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
laboneAPI. - Full LabOne Session functionality.
- get Value(s)
- set Values(s)
- list nodes
- subscribe
- Async node tree implementation.