Feature request: Support formulas in the Write PV action value field
Maintainer antworten meist innerhalb von 2 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
Rechercherichtung
Start by locating the Write PV action implementation and reading how it handles the Value field and PV values. Check whether the project already has formula or expression handling that could apply here. Done means the field can evaluate a formula that reads another PV and supports arithmetic such as incrementing a PV, without requiring a script.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
It would useful to be able to use formulas in the "Value" field of a "Write PV" action. This would simplify many use cases that would otherwise require scripting, which we aim to minimise at ISIS. Below are some examples of where we would find this feature helpful.
Assign the value of one PV to another
e.g. PV Name: destination, Value: =`source`
We have a display that shows suggested steering magnet setpoints calculated by some diagnostics next to the current magnet setpoints, then there are buttons to assign the suggested to the actual setpoints if the operator chooses to use them. This requires a short script to implement, but would be simpler with the requested feature.
Custom increment buttons
e.g. PV Name: $(pv_name), Value: =`$(pv_name)` + 1
We have some displays where users are used to having more increment/decrement options than the spinner or thumbwheel widgets provide. Being able to do in-place addition, subtraction, multiplication, etc would make this possible without scripting.
- Vorherrschende Sprache
- Java
- Sterne
- 130
- Forks
- 132
- Ø Merge
- 2 T. 11 Std.
- Gemergte PRs (30 T.)
- 19
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus ControlSystemStudio/phoebus
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
ControlSystemStudio/phoebus#3983 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Create CONTRIBUTING.mdOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
ControlSystemStudio/phoebus#3979 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
ControlSystemStudio/phoebus#3962 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
PVA/SPVA: track SPVA version independently and move XDG keychain dir pva/<ver> -> spva/<n.n.n>Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
ControlSystemStudio/phoebus#3865 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 52/100
ControlSystemStudio/phoebus#3980 ·
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in ControlSystemStudio/phoebus
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Maintainer antworten meist innerhalb von 1 Tag
-
code-maintenance
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
krizaka/krizaka-notifications#32 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
klikli-dev/occultism#1719 ·