193 Commits

Author SHA1 Message Date
f1219ae0f0 fix: fixed xread 2024-02-08 19:26:55 +01:00
3d087ef87d fix(AlarmMessage)!: content member (dict) changed to msg (str)
In practice it was already used as a message.
2024-02-07 12:43:52 +01:00
8bbfd10ca7 refactor(messages)!: messages refactoring, new serialization module
To have a better separation of concern between messages and how they are conveyed in connectors.
BECMessage can be simple dataclasses, leaving the serialization to the connector which transport those.
The serialization module itself can be isolated, and in the case of msgpack it can be extended to
understand how to encode/decode BECMessage, to simplify writing code like with BundleMessage or to
be able to automatically encode numpy or BECStatus objects.
Finally, client objects (producers and consumers) can receive BECMessage objects instead of having
to dump or load themselves.
2024-02-07 12:43:52 +01:00
1e2af9ae51 feat(ipython): represent objects using '__str__' rather than '__repr__' 2024-02-06 11:45:14 +01:00
1ff19a156d fix: scan_to_csv can handle ScanReport and ScanItem, runs on multiple scans; closes #80, #104 2024-02-05 14:19:00 +01:00
5c6f250950 fix: fixed serializer for 3.9 2024-02-01 18:48:42 +01:00
ce67a291eb test: fixed test for scan status events 2024-01-30 20:31:03 +01:00
70ec095e36 test: add test for get_software_triggered_devices 2024-01-25 12:12:26 +01:00
260ff38d62 test: add and fixed tests for scan_to_csv and scan_export_cm 2024-01-24 22:18:31 +01:00
3cb7ae7cf9 fix: remove deviceType from device config and backend; closes #171 2024-01-24 12:15:57 +01:00
d338efeb52 refactor: moved scibec validator to bec_lib 2024-01-23 18:02:26 +01:00
ce1adf4800 test: added test for DeviceConfigMessage actions 2024-01-23 13:37:40 +01:00
a1ca26dbd2 feat(config): allow both .yaml and .yml files as valid config files 2024-01-18 13:27:29 +01:00
wyzula-jan
bceb55d188 feat: GUI config dialog for BECMonitor can be opened from bec IPYTHON client 2024-01-09 12:28:01 +01:00
wyzula-jan
d6d888f197 test: test_bec_plotter.py all tests fixed 2024-01-07 18:34:03 +01:00
wyzula-jan
e3c2509e10 test: test_bec_plotter.py setting 'scan_segment' sources and labels fixed, redis tests disabled 2024-01-07 18:34:03 +01:00
f08b7d414a test: added tests for describe and describe_configuration 2023-12-22 16:38:45 +01:00
9acba36aa2 refactor: deprecated devicemanager_client 2023-12-18 16:50:50 +00:00
fce2520e38 fix: fixed limit update for epics pvs; closes #113 2023-12-18 10:27:55 +00:00
339d95fd35 test: added wait_for_service_response tests 2023-12-16 15:41:10 +01:00
4ea93dcd48 fix: fixed wm behaviour 2023-12-15 23:05:43 +00:00
2e7a09b1ce test: fixed tests for config ack 2023-12-15 19:56:46 +00:00
ab899524b4 refactor: cleanup and tests 2023-12-15 17:26:48 +01:00
8dbf4c79d4 refactor: update configs; relates to 2db65a385524b81bef1943a2a91693f327de4213 2023-12-15 07:17:18 +00:00
fed2c9f35a test: added tests for read_configuration 2023-12-14 18:14:19 +00:00
b0903ba15a test: fixed dm client tests for rpc interface 2023-12-14 18:14:19 +00:00
4aa9ba4a8e fix: fix devicemanger get_deviceType_devices bug and add test 2023-12-11 18:23:17 +01:00
8b610c2ee8 fix: fixed decorator order and raised error for new typeguard version 2023-12-11 16:13:17 +01:00
1ac5e5e8d3 build: support "typeguard>=3" 2023-12-11 14:12:42 +00:00
7d5c03b7b9 fix: clean up device_manager and scan_worker, add tests for baseline_devices; closes #144, #98 2023-12-11 13:28:33 +00:00
93172203b6 fix: fixed bec_lib after refactoring 2023-12-11 13:28:33 +00:00
5f48362667 feat: removed acquisition group and status from device config 2023-12-11 13:28:33 +00:00
83af8127da fix: fixed .get inconsistencies 2023-12-08 10:27:19 +01:00
6dd3dfea4e refactor: minor refactoring; added test for print_log 2023-12-06 20:00:04 +01:00
9028693a3c fix: fixed print_log; added tests 2023-12-06 17:29:23 +00:00
0a707436c7 test: added tests for bec plotter 2023-12-06 17:29:23 +00:00
4fc35cadc1 fix: fixed cached readout for .get; closes #137 2023-12-05 14:29:13 +00:00
bcd243361a fix: fixed bug in readout for hinted and normal signals 2023-12-05 14:29:13 +00:00
ade6ae4585 refactor: remove :sub :val :stream remnants 2023-11-29 16:28:14 +01:00
728b43c3f9 fix: fixed ctrl-c behaviour for report.wait; closes #138 2023-11-28 10:51:31 +00:00
eda60c529a fix: fixed device read for nested devices; closes #134 2023-11-28 10:33:13 +01:00
045526a9ad refactor: moved scan report to separate file 2023-11-28 08:39:18 +01:00
20dfc64972 feat: add load_demo_config method 2023-11-24 09:03:46 +01:00
67903a47bd feat: added GUI config endpoint 2023-11-21 14:14:25 +01:00
b037b91c53 fix: fixed scan_data len dunder 2023-11-21 11:27:01 +01:00
6cfff5a529 feat: added scan_data to simplify the access to the scan storage 2023-11-21 10:17:38 +00:00
5d254db6b7 refactor: revert commits that added temp module stubs
Fix path to test_service_config.yaml
This reverts commit 109453c1ccb3ebc8506e57f549549f99b38e4c8f
This reverts commit b73e9b3baac660bb7af3fc049c27e3bdb294bba9.
This reverts commit 108dc1179cf191c98b7891605d665371b5a2bca2.
2023-11-20 15:52:39 +00:00
c576669495 fix: fixed rpc func name compilation 2023-11-19 15:11:06 +00:00
de375b7579 test: fixed show_all test 2023-11-19 15:11:06 +00:00
f491d40bac refactor: improved dev.show_all 2023-11-19 15:11:06 +00:00