Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: FormulaCurveItem Connection Status #1111

Merged
merged 6 commits into from
Sep 30, 2024

Conversation

zdomke
Copy link
Contributor

@zdomke zdomke commented Sep 9, 2024

Adds connection status checks to the FormulaCurveItem for both live and archive state. More details below:

  1. FormulaCurveItem changes:
    a. Add properties connected, arch_connected, live_connections and arch_connections for storing the status of the curve an all used curves. The curve is only connected if all used curves are connected.
    b. If the FormulaCurveItem has no live and no archive connection then the formula's evaluations are skipped.
    c. Set plot_style default in __init__ arguments definition.

  2. ArchivePlotCurveItem change:
    a. Store the archiver channel's connection status in arch_connected.

Copy link
Collaborator

@jbellister-slac jbellister-slac left a comment

Choose a reason for hiding this comment

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

Looks good!

@jbellister-slac jbellister-slac merged commit 39473a4 into slaclab:master Sep 30, 2024
19 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.

2 participants