Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Feature request: Support formulas in the Write PV action value field

Aberta
#3,941 6 comentários 1 reação 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
48/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
java
Domínio
tooling

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

codathon discussion

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.

Image

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.

Linguagem predominante
Java
Estrelas
130
Forks
132
Merge médio
2d 11h
PRs com merge (30d)
19

Preparar o ambiente

  • Sem Dockerfile nem arquivo Docker Compose
  • Tem um modelo de pull request
  • Sem guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de ControlSystemStudio/phoebus

Todas as issues de ControlSystemStudio/phoebus

Issues semelhantes

Mais issues de Java

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.