Skip to content

Conversation

@GregJHarris
Copy link
Collaborator

This PR wires up the script execution code to the main flow of the widget prop.
This is a proof of concept for scripting and not the finished feature, use at risk.
It can modify the properties of a single widget, using values from multiple PVs.

Below are screenshots of an test bob file running in Phoebus and Daedalus, the first row runs with rules and the second with the equivalent script code. The text box in the first column is blue when the data is less than 299 mA and yellow when greater than 299. The second column moves the text box in x position further to the right when the data is less than 299mA.

image image

Copy link
Collaborator

@abigailalexander abigailalexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

@GregJHarris GregJHarris merged commit d915d09 into master Nov 24, 2025
2 checks passed
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.

3 participants