77 Commits

Author SHA1 Message Date
b81cef7fbb fix(atlas): fixed support for streams 2025-01-20 16:28:11 +01:00
a6994b7166 tests(scan_assembler): added test for splitting scan args into request inputs 2025-01-16 17:39:05 +01:00
766a79e549 tests(atlas_connector): added tests for atlas connector and metadata handler 2025-01-15 14:17:18 +01:00
8be9a545ea refactor(atlas connector): cleanup and tests 2025-01-15 14:17:18 +01:00
ae43289c6e tests(scibec): ported tests to atlas 2025-01-15 14:17:18 +01:00
3a6ed1437c tests(scibec): ported tests to atlas 2025-01-15 14:17:18 +01:00
5763114409 tests(scihub): fixed scihubmock for bec atlas 2025-01-15 14:17:18 +01:00
b6f175476c feat(stub_status): added name to stub status 2025-01-09 13:45:55 +01:00
150210d418 fix(scan_stubs): fixed check for pending stub status objects 2025-01-09 13:45:55 +01:00
8e99f36241 feat: new cmdline argument to start redis servers 2024-12-23 09:02:52 +01:00
25c090cd94 test: add test for subscriptions to event_types 2024-12-09 13:29:56 +01:00
06ad81f1d1 test: added test to ensure access to status results is not blocking 2024-11-18 12:54:18 +01:00
1032dd5856 feat(scans)!: added return_to_start kwarg to all scans. If set to true, the scan returns to start.
BREAKING CHANGE: In the past, this was always set to true. Now, the default will depend on the relative flag. Relative scans return to start to avoid shifts for repeated scans. Absolute scans will not return to start. However, this behaviour can be overridden by providing the additional return_to_start kwarg or subclassing the scan base.

closes #332
2024-11-18 12:54:18 +01:00
ddf2faf148 fix(scan stubs): fixed support for receiving results from multiple stubs; closes #375; cleanup of docs 2024-11-18 12:54:18 +01:00
da432792fd refactor(scans): renamed _get_scan_motors to update_scan_motors; minor fixes 2024-11-18 12:54:18 +01:00
7b03fc36b6 refactor(scans)!: renamed group primary to group monitored 2024-11-18 12:54:18 +01:00
d2a738b8c2 refactor(scans): moved fixtures to scan server module 2024-11-18 12:54:18 +01:00
41683ae5f8 feat(stubs): added support for setting multiple devices at once 2024-11-18 12:54:18 +01:00
a980e9e885 fix(scan): fixed stub guard 2024-11-18 12:54:18 +01:00
9114a58875 refactor(scan_stubs)!: changed default to wait=True 2024-11-18 12:54:18 +01:00
49cd06e60e refactor(stubs)!: renamed rpc to send_rpc 2024-11-18 12:54:18 +01:00
7d50839179 fix(scans): fixed various smaller bugs and improved the doc strings 2024-11-18 12:54:18 +01:00
a4f99e29f9 feat(scan_server)!: Moved to unique device instruction ids and ScanStubStatus objects
BREAKING CHANGE: This commit changes the scan definition to use unique device instruction ids and ScanStubStatus objects. This is a breaking change and will require updates to the scan definitions.
2024-11-18 12:54:18 +01:00
ccbde45a48 feat: add file_event as new SUB_EVENT to device manager; closes #335 2024-11-18 12:54:18 +01:00
1978ee4f30 fix: fix bug related to usage of ConnectorMock 2024-11-18 12:54:18 +01:00
57705ae28d tests(file_writer): fixed test fixture for scan storage 2024-11-18 12:54:18 +01:00
07edd47821 fix(cont_line_scan): wait for trigger before moving on 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
f787e6d23d feat(file_writer): added async file writer 2024-11-18 12:53:28 +01: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
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
7eb4ead57d feat(scan queue): added support for changing the order of scans in the queue 2024-09-18 11:46:51 +02:00
d0ee4ec554 refactor: reworked R/W info in device info; removed bug for devices with type Signal 2024-09-05 10:15:14 +02:00
c91dcf4d37 fix: bugfix in cont_line_scan; reworked device and signal mocks 2024-09-05 10:15:14 +02:00
070b0417d8 feat(config): added support for adding and removing devices 2024-09-02 13:09:41 +02:00
3e0e5cf9a8 fix(queue): moved queue modifications to dedicated message for the device server 2024-08-30 07:19:40 +02:00
b0bc0da54f refactor(scan_bundler): moved specific bec emitter methods from emitterbase to bec emitter 2024-08-13 11:13:49 +02:00
1357b216a8 test: fix msg in init scan info 2024-07-25 16:17:32 +02:00
0bb42d01bf refactor: renamed DeviceMonitor2DMessage 2024-07-25 09:50:02 +02:00
c7b59b59c1 refactor: renamed device_monitor to device_monitor_2d, adapted SUB_EVENT name 2024-07-25 09:50:02 +02:00
2848682644 fix: add velocity vs exp_time check for contline_scan to make it more robust 2024-07-21 20:32:17 +02:00
7e46cf94ef tests: update tests following new "parse_cmdline_args" function 2024-07-18 10:19:36 +02:00
5cf162c19d fix(bec_lib): fixed bug that caused the specified service config to be overwritten by defaults 2024-07-08 15:56:53 +02:00
86714ae57b fix(bec_lib): accept config as input to ServiceConfig 2024-07-08 13:52:21 +02:00
22c1e5734e test: fix tests due to config changes 2024-07-03 11:48:00 +02:00
eef2764f44 fix: bugfix within scibec metadata handler to accomodate changes of metadata 2024-07-03 11:48:00 +02:00
7a5fa85c0f fix(device_server): fixed bug that caused alarms not to be raised 2024-07-01 20:51:30 +02:00
58c0425772 refactor(device_server): rpc_mixin cleanup 2024-07-01 19:51:09 +02:00
d9df652e04 fix: fixed cont_line_scan 2024-06-28 13:20:40 +02:00
b5ee738153 test: fix tests 2024-06-28 13:20:40 +02:00