ccbde45a48
feat: add file_event as new SUB_EVENT to device manager; closes #335
2024-11-18 12:54:18 +01:00
ec57e077a2
test(scan_history,data_container): added tests; refactored to use conftest for shared fixtures
2024-11-18 12:54:18 +01:00
b77211fe86
refactor(bec_lib): renamed ScanData to LiveScanData
2024-11-18 12:54:18 +01:00
1d8bc6d7ec
feat(data_access)!: moved to file access
...
BREAKING CHANGE: baseline data and async data is no longer cached on the client and instead provided through file references. To this end, the data access through scan_item.data has been generalized. Live data (i.e. monitored data) is now accessible through scan_item.live_data
2024-11-18 12:53:28 +01:00
96734c3dd2
fix(scans): fixed kwarg check for scans without args but required kwargs
2024-10-22 18:35:14 +02:00
d2ce95c10e
fix: fixed folder permission for log and recovery_config writing
2024-10-15 12:48:15 +02:00
9b30f004ac
test(file_utils): fixed tests
2024-10-11 15:50:43 +02:00
9141280889
fix(logger): log messages should be streams, not pub sub
2024-10-11 10:31:59 +02:00
a06d03f212
fix: add 1d monitor endpoint, add waveform device and fix its updates. unify async 'extend' and 'append' accumulation
2024-10-02 07:26:07 +02:00
56e98e8b19
fix: fixed support for nested devices
2024-10-01 17:09:49 +02:00
eb3c302874
refactor: allow rgb array data within DeviceMonitor2DMessage
2024-09-18 17:14:30 +02:00
ca4eb1e5d4
fix(interactive_scan): fixed bug in scan number calculation; simplified interface
2024-09-18 16:36:13 +02:00
d842e20dc8
feat(interactive scans): added support for interactive scans
...
This commit adds support for interactive scans. This is a new feature that allows users to interactively define scans in the BEC client. The user can specify the scan parameters in a context manager and then run the scan interactively by accessing the device objects directly. Dedicated trigger and read function are provided to perform larger actions.
2024-09-18 16:36:13 +02:00
c67e80a29a
refactor(bec_lib): minor cleanup for cli scan context managers
2024-09-18 16:36:13 +02:00
7eb4ead57d
feat(scan queue): added support for changing the order of scans in the queue
2024-09-18 11:46:51 +02:00
b976fb4a08
test: added test for file events
2024-09-05 18:33:37 +02:00
a70af8f58c
refactor: ScanItem attributes bec and callback made private
2024-09-05 16:34:49 +02:00
46738ad259
test: fix tests
2024-09-05 16:34:49 +02:00
070b0417d8
feat(config): added support for adding and removing devices
2024-09-02 13:09:41 +02:00
0c7e0eb37f
feat(queue schedule): added endpoint and queue schedule methods
2024-09-02 07:47:18 +02:00
7f93933847
test: add connector unregister test with 'patterns'
2024-08-16 08:44:01 +02:00
ec5abd6dde
feat(device_server): gracefully handle timeouts
...
Failed config updates should only lead to config flush if the object initialization fails. If we simply can't connect to the signals, the device should be disabled.
2024-08-15 19:11:40 +02:00
49b53a95d9
test: use simpositionerwithcontroller for controller access
2024-08-15 09:22:02 +02:00
75dd67ba17
test: ensure BECClient singleton is reset
2024-08-14 20:07:22 +02:00
4c5dd4ab40
test: fixed test for status wait
2024-08-13 20:21:06 +02:00
efc07ff4ff
fix(bec_lib): raise on rpc status failure
2024-08-13 20:21:06 +02:00
c8b4ab9d99
fix(bec_lib): added check to ensure becmessage type is correct
2024-08-13 11:13:49 +02:00
05e82efe08
test: fixed test for triggered devices
2024-07-05 09:08:41 +02:00
eef2764f44
fix: bugfix within scibec metadata handler to accomodate changes of metadata
2024-07-03 11:48:00 +02:00
5de45d059c
fix(dap): fixed auto-run and added e2e test
2024-06-23 14:22:21 +02:00
6bf60f98fc
fix(bec_lib): fixed pydantic type for scanqueuemodifications
2024-06-20 18:38:32 +02:00
1ceae8ba0c
test: add tests for metrics
2024-06-20 09:12:10 +02:00
f621ef280e
fix(bec_lib): fixed access to global vars
2024-06-12 19:06:22 +02:00
a481fdadfe
refactor: add system_config and review docs
2024-06-07 09:51:00 +02:00
92bd51e788
refactor: remove bec.file_writer, and moved info to metadata, renamed md to metadata in kwargs from scans
2024-06-07 09:51:00 +02:00
83334f18c4
fix: fix bec.file_writer option to configure writer from command line
2024-06-07 09:51:00 +02:00
05c24e880b
fix(bec_lib): fixed msg type serialization
2024-06-05 16:50:31 +02:00
1be38300ab
fix(bec_lib): fixed serialization for message endpoints
2024-06-03 14:04:57 +02:00
0382ac52dd
refactor: deprecated scan report hint
2024-05-22 11:57:59 +02:00
87cc71aa91
fix: race condition when reading new value from stream
2024-05-17 09:09:04 +02:00
1c628fd610
fix: do not import modules if only for type checking (faster import)
2024-05-17 09:04:52 +02:00
8a017ef3d7
fix: clean all imports from bec_lib, remove use of @threadlocked
2024-05-17 09:04:52 +02:00
0ccd13cd73
feat: add utility function to determine instance of an object by class name
2024-05-15 11:50:17 +02:00
549994d0fd
style: create directory to contain utils
2024-05-15 11:50:08 +02:00
5c5c18ef0e
fix: disabled script linter for now
2024-05-14 15:05:44 +02:00
2aafb249e8
ci: update dependencies and add ci job to check for package versions
2024-05-10 11:54:08 +02:00
f059bf9318
fix(RedisConnector): add 'from_start' support in 'register' for streams
2024-05-08 15:03:36 +02:00
c0a0e3e442
feat: add client message handler to send info messages from services to clients; closes 258
2024-05-03 08:32:28 +02:00
c54dfc166f
fix: unified device message signature
2024-05-01 17:43:38 +02:00
af8593794c
fix: fixed log message log type
2024-05-01 14:05:40 +02:00