113 Commits
Author SHA1 Message Date
zolliker cabe2a8271 remove stick together with main 2026-06-19 08:44:02 +02:00
zolliker 1d6e2ae415 alias create mechanism must work with dry run
move from FrappyNone.createDevices(which is not called in
simulation) to FrappyNode.makeDynamicDevices
2026-06-02 08:54:17 +02:00
zolliker 0f1f4a84ae fix remove mechanism 2026-05-28 14:50:35 +02:00
zolliker 128df48141 treat rotation_z correctly for om/a3/dom 2026-05-28 08:59:48 +02:00
zolliker 9c878f03e5 SECoP: parameter names in NICOS must be lower case
no idea why this did not appear earlier
2026-05-28 08:45:27 +02:00
zolliker 9eaf6e7ff2 various fixes, state as of 2026-05-18
instead of removing setup files, they are changed to lowlevel,
so no longer visible, but not creating any errors when loaded
2026-05-19 11:47:01 +02:00
zolliker f14f1a7414 fixes on state 2026-04-07 2026-04-07 10:33:45 +02:00
zolliker 1954c9a1b8 state 2026-04-07 from local mac directory 2026-04-07 10:26:43 +02:00
zolliker 3c35049f31 new.py intermediate version 2026-03-30 07:48:12 +02:00
zolliker 592c14f093 new version tested on zebra
- only one setup 'frappy'
in frappy.adjustEnvironment:
- aliases are created dynamically in frappy.adjustEnvironment()
- they are reset to a 'not_used' device when no longer used
- envlist is added to session.experiment.persistent_environment when supported
2026-03-27 09:17:44 +01:00
zolliker cf70ebf322 never fix a FrappyNode 2026-03-16 11:16:29 +01:00
zolliker 9ad8540698 use secop device from frappy_sinq 2026-03-16 11:15:39 +01:00
zolliker 82072dddc0 add setup for superfrappy 2026-03-13 14:18:54 +01:00
zolliker d276ca5f3a add alternative secop version 2026-03-13 14:09:28 +01:00
zolliker 3687e7be81 add new FrappyMarche 2026-03-12 17:28:56 +01:00
zolliker 0faba6f381 remove ppms and timestamp
- this is moved to nicos_sinq/linse_nicos, which is a new gitea repo
2025-11-19 13:31:06 +01:00
zolliker 2439d5d603 log a warning when sea_recorder fails 2025-11-07 10:09:58 +01:00
zolliker 26561833a2 restore previous envlist when NewExperiment is called.
- do this also on FinishExperiment
- but do do do it when the proposed environment is not contained
  in the previous envlist
+ fix a typo and a minor bug in output
2025-09-08 15:20:59 +02:00
zolliker c18fec4081 add general_stop_whitelist 2025-08-28 18:00:44 +02:00
zolliker d4adaff40d do not remove aliases with targets not inheriting frm SecopDevice 2025-07-14 11:47:17 +02:00
zolliker 3d907bd11c resolve problem with DefuncDevice
renew envlist even when not changed
if not, devices in envlist are not exchanged by new instances.
2025-06-20 13:43:58 +02:00
zolliker 806490322e change sea_recorder argument to dict
+ send sea_recorder to sea only when needed
2025-06-18 09:57:18 +02:00
zolliker c217b1c264 try-except around sea_recorder 2025-06-17 18:16:16 +02:00
zolliker a4df743570 add sea recorder when frappy is not already using sea 2025-06-17 11:24:26 +02:00
zolliker 9f7413a1a5 split lab.py in labcommands.py and timestamp.py
- timestamp.TimeStamp is used as a dummy detector
- labcommands may be used in lab expts. but is somehow outdated
2025-04-29 08:48:13 +02:00
zolliker 43853ae49c send udp message to feeder
inform the history feeder in case of a SECoP server without
UDP mechanism
2025-04-29 08:03:15 +02:00
zolliker b96a7dec1c fix bad path of Timestamp device 2025-04-24 14:05:13 +02:00
zolliker 6a89ec8383 unify Frappy.show and Frappy.show_state
+ fix indentation
2024-12-03 15:01:47 +01:00
zolliker 53057297d7 improve meaning handling
- Moveables with meaning 'temperature' are added to
  the 'temperature_regulation' target list
- Devices with meaning 'temperature_regulation' are added
  to 'temperature' target list, but with much lower priority
  (should be considered only when no sample quantity is detected)
2024-12-03 15:01:43 +01:00
zolliker 4cbc5a9ec9 FrappyConfig.__call__: fix bug when main is None 2024-11-18 16:53:44 +01:00
zolliker 034a2e4440 fix meaning bug 2024-10-24 11:44:56 +02:00
zolliker 6b28b17823 improve mechanism to determine aliases
- meanings from name guessing has sligthly lower importance then
  given meanings
- then temperature meaning is missing, take temperature_regulation
2024-09-27 16:15:12 +02:00
zolliker 8d722ad09f improve config guess 2024-09-27 16:15:12 +02:00
zolliker 1fd0647d74 try to avoid 'None' as target
use '-' instead
2024-06-25 12:48:26 +02:00
zolliker c237718a2d try to treat FrappyNode.target == 'None' properly 2024-06-25 11:17:36 +02:00
zolliker 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
zolliker 4bde91d16b no warning 'does not match target' while restarting 2024-06-17 15:18:40 +02:00
zolliker 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
zolliker 974e729920 fix error with predef_aliases 2024-06-03 10:02:35 +02:00
zolliker 29343faf8a FrappyNode.target must be set after stop but before restart 2024-05-29 15:13:13 +02:00
zolliker 1a82818da4 FrappyNode.target must be set before restarting servers 2024-05-29 15:06:19 +02:00
zolliker 6e4c53c881 fix envlist calculation
+ fix pathed loggers mechanism
2024-05-29 14:55:49 +02:00
zolliker 0776b7575f add timestamp and ppms setups 2024-05-22 16:51:36 +02:00
zolliker e841b7bf0e frappy.show: do not show nicos column if equal to frappy 2024-05-13 15:02:59 +02:00
zolliker 3bddd87609 frappy.show_state: do not show partial status 2024-05-13 13:14:28 +02:00
zolliker 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
zolliker ead54b14a5 improve detect_changes
check also if envlist and aliases have to be rebuilt
2024-05-07 08:51:36 +02:00
zolliker b10102e052 [wip] auto sample environment change, basic version 2024-05-06 10:06:09 +02:00
zolliker 09237e4118 frappy.has_changed() should not be triggered repeatedly
fix bug
2023-12-15 15:57:15 +01:00