Commit Graph

26 Commits

Author SHA1 Message Date
zolliker 62823899bb change update mechanism
Atoring just updates on the SecopInteractor does not work
properly, as these updates depend on what the clients have already.
As updates are polled internall anyway, store onm each client
the state of the parameters it has looked up already and emit
changes values only.
2026-03-20 11:49:00 +01:00
zolliker 0343a76079 followup fix: node map must be updated before registering callbacks 2026-03-19 11:41:00 +01:00
zolliker 51bd8c2c4c node map must be rebuilt for reconnected clients 2026-03-19 11:36:18 +01:00
zolliker 0e8ad84570 change sys.path
+ some other stuff
2026-02-18 16:43:19 +01:00
zolliker 6df42b9541 continue with graphics when secop connection fails 2025-05-20 16:51:01 +02:00
zolliker 925bdfc472 improve command handling 2025-05-13 11:11:19 +02:00
zolliker 5c70017238 fix simple command (e.g. stop) 2025-05-13 11:10:27 +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 2fda3164e6 use type=rdonly for modules without target, but with a value 2025-05-02 10:42:40 +02:00
zolliker 0a6ff13ee6 treat different types for module block 2025-05-02 10:42:40 +02:00
zolliker 9b7261261f fix do command 2025-05-02 10:42:08 +02:00
zolliker 09bf402bbb implement SECoP commands on the server side 2025-05-02 10:41:55 +02:00
zolliker 27f60e1187 report status and target in update_main
+ add SECoP commands [WIP]
+ fix case 4 (error icon) in updateStatus (SEAWebClientCommunication.js)
2025-05-02 10:39:18 +02:00
zolliker 639949f24b change status update slightly
- formatted is like "BUSY, moving"
- value as with other tuples
- statuscode 0..4
2025-04-15 17:52:22 +02:00
zolliker 555aca9ed0 add statuscode to update for status
- value in a status update now contains the text only
2025-04-15 17:37:29 +02:00
zolliker 38b2dbcf93 added component info (from SECoP description)
+ add target update for modules block
2025-04-15 17:37:29 +02:00
zolliker 85fdaa445f server: remove unnecessary nesting in SecopInteractor.get_components 2025-04-15 17:37:29 +02:00
zolliker e132b43263 fix missing initialization of node_map in SecopInteractor 2025-04-15 17:37:28 +02:00
l_samenv bc9c1361e5 followup change: fix dummy webserver
the dummy server was no longer working after server rework
2025-04-15 17:37:28 +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 b8ac8f8bb5 add the status name to the 'rdlink' message 2025-03-18 14:35:14 +01:00
zolliker c67c0f7e9d add 'status' to updates for module block 2025-03-18 14:22:10 +01:00
zolliker 2c59e37074 major rework
using influxdb structure independed of nicos cache
2025-03-18 14:14:45 +01:00
zolliker 7736e0f7e3 move classes using influx from secop to influxgraph
+ fix parameter change command in secop
2024-10-23 16:34:12 +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