Skip to content

Implement a dedicated action to open the data browser#3796

Open
rjwills28 wants to merge 1 commit intoControlSystemStudio:masterfrom
rjwills28:open_data_browser_action
Open

Implement a dedicated action to open the data browser#3796
rjwills28 wants to merge 1 commit intoControlSystemStudio:masterfrom
rjwills28:open_data_browser_action

Conversation

@rjwills28
Copy link
Copy Markdown
Contributor

In CS-Studio we used to have an ActionButton, which would run a script to open the data browser and plot specific PVs. This was done using an executeEclipseCommand, e.g.

ScriptUtil.executeEclipseCommand(command_id, ['pvnames', 'XXX:YYY'])

Obviously this is no longer valid in Phoebus.

I am aware that you can launch the data browser from the right click context menu but we would like to be able to be able to do this from a left click action and plot multiple PVs on the same plot. We could not find another suitable way to reproduce this behaviour (e.g. using a command or script).

Instead we thought it would be cleaner to provide a new action to open the data browser. The inputs include a single or list of PVs to plot as well as the timeframe to show. Potentially we could configure other parts of the data browser but this seemed like a good starting point.

We would appreciate any feedback you may have.

Checklist

  • Testing:

    • The feature has automated tests
    • Tests were run
    • If not, explain how you tested your changes
  • Documentation:

    • The feature is documented
    • The documentation is up to date
    • Release notes:
      • Added an entry if the change is breaking or significant
      • Added an entry when adding a new feature

User can specify a single or list of PVs to plot as well as set the
timeframe to display. The default archiver will also be attached to
the PVs.
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 6, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
4.9% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant