ControlSystemStudio / cs-studio

Control System Studio is an Eclipse-based collections of tools to monitor and operate large scale control systems, such as the ones in the accelerator community.
https://controlsystemstudio.org/
Eclipse Public License 1.0
111 stars 96 forks source link

A formula trace does not get immediately added to the databrowser and also does not immediately updated #2703

Closed rjwills28 closed 2 years ago

rjwills28 commented 2 years ago

We came across an issue when users were adding formula traces to the data browser that they did not appear immediately in the plot. Equally if a user updates the formula, the changes do not get immediately displayed. The fomula only gets re-evaluated when the samples change, i.e. if the live PV variable changes or the received archived data changes.

I have created a fix for this issue which identifies when the formula has been updated and registers this change causing the formula to be re-evaluated.

willrogers commented 2 years ago

@kasemir is this present in Phoebus?

kasemir commented 2 years ago

No, something like this is also needed in phoebus. https://github.com/ControlSystemStudio/phoebus/issues/1972