93 Commits

Author SHA1 Message Date
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
bc8ce5a56e fix frappy_list
first attempt
2023-05-16 10:55:54 +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
78edd77ce1 fix issue with missing secnode 2022-09-16 17:45:18 +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
9cf46d06a6 frappy() command: remove log message 2022-08-08 16:22:34 +02:00
1c6af08155 fix *args in frappy command
bug fix
2022-08-08 15:48:40 +02:00
eb9614a9ac more fixes to frappy command
- frappy(main=<maincfg>) must (re)load only <maincfg>
- frappy(<maincfg>) does re(load) standard stick, if available
2022-08-08 15:42:41 +02:00
53a8517464 fix return value of frappy command 2022-06-28 14:49:04 +02:00
fbfb060e3b fix frappy command and usage message 2022-06-22 18:05:28 +02:00
ebe01a620a fix error message (duplicate cfg) 2022-06-15 17:08:36 +02:00
c4c4148b25 fix frappy command 2022-06-15 14:04:25 +02:00
5a9be60380 Merge branch 'master' of gitlab.psi.ch-samenv:samenv/frappy_sinq 2022-06-14 17:34:59 +02:00
31d7ce8304 temporarely add se_T_stat to Tr alias config 2022-06-14 17:33:37 +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
2974934832 add frappy command
- frappy(<main>, <stick>) changes main and stick (+addons) in one go
- frappy_main(..) not longer deals with standard stick
2022-06-08 17:09:54 +02:00
d31a1d0e5a fix device alias creation in set_envlist 2022-05-30 11:56:22 +02:00
0c9cce5c7e Merge branch 'master' of gitlab.psi.ch-samenv:samenv/frappy_sinq 2022-05-19 13:28:43 +02:00
64c463d4c3 change se_stick to se_stickrot (collision) 2022-05-19 13:28:01 +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
70cf0b6715 reintroduce set_se_list command 2022-05-02 15:47:47 +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
80d81d72ae determine environment from alias definitions
secop devices are added automatically to the environment if the
appear in the alias_config. secop devices no longer available
are remove from the envrionment list.

+ fix rename nicos_sinq/frappy to nicos_sinq/frappy_sinq
2022-04-13 09:07:43 +02:00
2450f1b477 rename to frappy_sinq 2022-04-13 08:43:53 +02:00
34075a07af move files in from repo git.psi.ch/sinqdev/nicos-sinq 2022-04-08 09:36:17 +02:00
0cec6c0fa4 Initial commit 2022-04-08 06:45:08 +00:00