67 Commits

Author SHA1 Message Date
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
2b93187c35 fix: fixed bug where a failed device status would not cause the scan to abort 2024-06-28 11:47:08 +02:00
f3f69669dd fix(scan_server): ensure that scan server rpc calls use a unique request id 2024-06-25 09:45:27 +02:00
5de45d059c fix(dap): fixed auto-run and added e2e test 2024-06-23 14:22:21 +02:00
c6987b6ec2 feat(scan_server): added support for additional gui config 2024-06-21 15:36:27 +02:00
75e6df47f7 feat(file_writer): separated device collection from metadata 2024-06-21 09:10:11 +02:00
9adbdaf0fa test(file_writer): added tests to load format from plugins 2024-06-09 12:26:39 +02:00
03c9592b6a feat(file_writer): introduced defaultwriter class to simplify the plugin development 2024-06-09 12:01:11 +02:00
a302844d70 test(scan_server): added test for convert_arg_input 2024-06-03 09:16:29 +02:00
8fed5f64a0 test: added tests for stubs and contlineflyscan 2024-06-03 09:16:29 +02:00
3acc13a8c4 refactor(scan_server): cleanup of scan args 2024-06-03 09:16:29 +02:00