Commit Graph

24 Commits

Author SHA1 Message Date
zolliker fabb6c371f webserver.py: fix intendation 2026-05-04 13:31:25 +02:00
zolliker 1201801170 break busy loop blocking the server
- Use gevent.sleep with a tiny value after a message has been
  received instead of no call to sleep at all. This was the
  reason for the webserver to block when used with prep8
  and the leiden dil with a lot of data
- move gevent.monkey.patch_all() to secop-webserver
- properly close clients
2026-05-04 13:19:33 +02:00
zolliker f1c81a8a43 add instrument arg instead of empty args 2026-03-26 16:35:49 +01:00
zolliker a6ec455563 select_experiment: move links to instruments to top 2025-05-23 13:50:21 +02:00
zolliker 191f0aed80 logfile name depending on port 2025-05-23 13:04:37 +02:00
zolliker b24384f387 improve further select_experiments: add time range in link 2025-05-21 15:37:19 +02:00
zolliker e136b66732 no extra headline for central server 2025-05-21 13:14:26 +02:00
zolliker 822e3ab6a2 big fix: treat history_only=None properly 2025-05-21 13:08:06 +02:00
zolliker b1ffe99a5d remove grey background on select_experiments 2025-05-21 12:11:16 +02:00
zolliker 7d4607e947 work on select_experiment
- on currently running exp. make two links, to instrument
  or history only
- create dummy secop client when hideRightPart is used in order
  to avoid waiting impossible connection
2025-05-21 11:35:25 +02:00
zolliker 55dd7a3777 fix bug not changing host 2025-05-20 16:59:25 +02:00
zolliker fd37ee0dfc cosmetics on home 2025-05-20 16:55:10 +02:00
zolliker 90e8aa5df0 select_experiment: use links to instruments 2025-05-20 16:51:01 +02:00
zolliker 2984c051e9 use single instrument name instead of 'n_a' 2025-05-20 16:04:38 +02:00
zolliker 46fca20f09 add links to servers on intruments 2025-05-20 15:10:19 +02:00
zolliker 3b438d68b2 fix bug in select_experiment page 2025-05-13 11:11:19 +02:00
zolliker 43624b4222 send instrument='n_a' if not available
instead of null

+ remove another debugging print statement
2025-05-02 10:43:34 +02:00
zolliker ae7ed7bdd8 get a faster response from a change
in the previous implementation, the row-waiting-for-answer
class was removed only on the next poll. this should happen
more quickly.

+ remove some print statements
2025-05-02 10:43:34 +02:00
zolliker 8f7406c31b fixes for select_instrument 2025-05-02 10:41:55 +02:00
l_samenv 9f5ae58b9b rework of the server side
main change: the same server may be used for several instruments

- client classes are 'Interactors' dealing with the parameters etc.
- methods from history are added to the clients
+ improvements on the js client side
2025-03-19 08:37:58 +01:00
zolliker 5b6684fcef add select_experiment 2025-03-18 14:15:14 +01:00
zolliker 2c59e37074 major rework
using influxdb structure independed of nicos cache
2025-03-18 14:14:45 +01:00
zolliker 7471a0c171 remove pdb support, remove unused imports
+ remove tcp_lineserver
2024-10-23 16:31:34 +02:00
l_samenv b07ca0bd4f restructure code and use frappy.client for SECoP
- separation of SECoP part from webserver
- use frappy client instead of own code for SECoP communication
2024-10-23 11:13:40 +02:00