Commit Graph

51 Commits

Author SHA1 Message Date
c237718a2d try to treat FrappyNode.target == 'None' properly 2024-06-25 11:17:36 +02:00
868abb4ea2 do not show fm.error
as it will flood log output

- how to handle this properly?
2024-06-24 09:43:28 +02:00
4bde91d16b no warning 'does not match target' while restarting 2024-06-17 15:18:40 +02:00
f8440d38a4 fix 2 issues with starting stopping
- secnode devices were not disconnected before stopping
  leading to error messages
- target of secnodes not properly updated
2024-06-07 17:08:31 +02:00
l_samenv
e121c3ca8e FrappyNode.doInit must super call SecNodeDevice.doInit 2024-06-04 08:17:25 +02:00
974e729920 fix error with predef_aliases 2024-06-03 10:02:35 +02:00
29343faf8a FrappyNode.target must be set after stop but before restart 2024-05-29 15:13:13 +02:00
1a82818da4 FrappyNode.target must be set before restarting servers 2024-05-29 15:06:19 +02:00
6e4c53c881 fix envlist calculation
+ fix pathed loggers mechanism
2024-05-29 14:55:49 +02:00
e841b7bf0e frappy.show: do not show nicos column if equal to frappy 2024-05-13 15:02:59 +02:00
3bddd87609 frappy.show_state: do not show partial status 2024-05-13 13:14:28 +02:00
e213186295 nicer output of server state
- more outstanding output of frappy server state
- frappy() does now alse an update if needed
- frappy.show() to show state only
2024-05-13 08:43:22 +02:00
ead54b14a5 improve detect_changes
check also if envlist and aliases have to be rebuilt
2024-05-07 08:51:36 +02:00
b10102e052 [wip] auto sample environment change, basic version 2024-05-06 10:06:09 +02:00
09237e4118 frappy.has_changed() should not be triggered repeatedly
fix bug
2023-12-15 15:57:15 +01:00
5678530e6e rework frappy to be a device instead of a command
+ improve proposed config mechanism
2023-10-26 10:09:42 +02:00
ba0f4e62b6 improve frappy server management
- do connect in background when the frappy server is not running
  on startup
2023-09-20 17:26:01 +02:00
dmc
1e2721579d fix FrappyNode.nodeStateChange when frappy_config does not exists 2023-09-18 13:11:10 +02:00
b9f54dee4a FrappyNode: do not rely on cached cfg
on startup and when disconnected, the main value of FrappyNode
gets trys to get its value from running processes.
2023-09-14 08:43:04 +02:00
47c1793b61 inform user about possible device change
taking into account cfg retrieved from frappy and sea
service manager
2023-09-13 17:20:59 +02:00
649e2b7022 [WIP] improve auto stick handling 2023-09-12 12:25:07 +02:00
68153df77c [WIP] next try 2023-09-12 09:45:32 +02:00
3c96bd3eab [WIP] consider sea device when initializing FrappyNode 2023-09-12 09:07:39 +02:00
9d6baa191e [WIP] consider SEA config in frappy(..) command 2023-09-11 08:24:29 +02:00
59eaa39cd4 add pressure meaning and alias device p 2023-07-04 15:46:36 +02:00
dd113a2da0 fix a3 alias assignment
rotation_z and stick_rotation need seperate entries in frappy_config
2023-05-26 13:46:51 +02:00
1930c24b71 fix issue with alias_config removed at MLZ
rotation_z will be automatically assigned to one of a list
of aliases ('unique' entry in frappy_config) but will complain
when this is not unique.
2023-05-22 09:09:13 +02:00
b6044c4c41 fix transisiton secop->frappy 2023-05-16 10:29:58 +02:00
dmc
4c2d42d39e fix secop import
change nicos.devcies.secop to nicos.devices.secop.devices
2022-11-24 08:06:32 +01:00
40495faec9 devices.py: remove unneeded import of DeviceAlias 2022-09-21 17:28:23 +02:00
16ba2bcf19 start frappy server automatically, if not running yet
when restarting NICOS, the frapy servers should be (re-)started
if not running already with the correct config
2022-09-21 17:25:09 +02:00
dmc
1fe2e3353a frappy() command returns bare '' when disabled 2022-09-13 10:39:00 +02:00
7b076458bc frappy() indicates also if frappy server is not running
+ improvements in the envlist creation
2022-08-25 14:15:39 +02:00
cbbec5647c improved code for envlist modification
previous matching devices are removed, also when
the previous was an alias pointing to the same device
2022-08-25 09:29:25 +02:00
a3e5dd6af6 remove Tr from created aliases
changed alias creation / envlist mechanism
2022-08-23 16:49:39 +02:00
9af6266c4c allow to configure category of parameters
by default, in datafile headers only value, status etc. is stored.
put the sec node devices 'param_category' to 'general' will
put all parameters into the header
2022-06-14 15:26:58 +02:00
d31a1d0e5a fix device alias creation in set_envlist 2022-05-30 11:56:22 +02:00
96dba6e693 missing return value in get_se_aliases 2022-05-05 17:07:34 +02:00
b80157c32d fix typo 2022-05-05 17:06:07 +02:00
a456819c4a fix stick_rotations_alias name 2022-05-05 17:04:32 +02:00
afaea89ea6 allow missing frappy_config, stick_rotation_alias 2022-05-05 17:03:09 +02:00
9be486f627 fix typo 'aliasname(s)' 2022-05-03 07:53:10 +02:00
a274b1233e revert to: allow multiple names for SE aliases
remark: 'frappy' setup should be moved to instrument setups
2022-05-03 07:40:48 +02:00
32292b0ba1 again modified alias handling 2022-05-02 18:11:01 +02:00
410a590d0f separate setup for additional aliases
- remove multiple aliases in frappy_config
2022-05-02 16:25:02 +02:00
b9370eb206 allow multiple names for SE aliases 2022-05-02 15:56:19 +02:00
41640c6c04 fix circular import in frappy_sinq 2022-05-02 10:11:16 +02:00
aaaca072e4 move set_se_list to frappy_config.set_envlist 2022-05-02 09:38:36 +02:00
c974edede9 reworked meanings / aliases
- add rotation_x to the list
- allow to configure items creating an alias without entry in envlist
2022-04-29 11:04:58 +02:00
1d39bd162b added frappy_config to frappy setup
frappy_config allows to configure how SE aliases are generated
set_se_list applies this to create aliases and update the envrionment
2022-04-20 12:06:58 +02:00