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

fix(set_gem_timing): updated logic to reflect application layer concers: do not exit the program if PV and IOC software are out of sync #164

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

joshc-slac
Copy link
Contributor

@joshc-slac joshc-slac commented Sep 12, 2023

Description

Addressing the valid concern in the set_gem_timing script that we want to guard against the edge case where PV: KFE:CAM:TPR:02:MODE is inconsistent with IOC software path.

For reference here is the intended pairing:

KFE:CAM:TPR:02:MODE Value IOC Software Path
SC ioc/fee/GasDetDAQ/R4.0.22-NOTS
NC ioc/fee/GasDetDAQ/R4.0.22

Critical functional change is that if an operator tries to run set_gem_timing into a mode in which the PV: KFE:CAM:TPR:02:MODE already is in it will not terminate the program.

Motivation and Context

#163 (comment)

How Has This Been Tested?

  • publish update and ask operators to use tool

Where Has This Been Documented?

Code comment and output of command

@joshc-slac joshc-slac force-pushed the joshc-slac/fix_set_gem_timing branch from 59c3fb3 to f0896e5 Compare September 12, 2023 23:11
@joshc-slac joshc-slac marked this pull request as ready for review September 12, 2023 23:11
…rs: do not exit the program if PV and IOC software are out of sync
@joshc-slac joshc-slac force-pushed the joshc-slac/fix_set_gem_timing branch from f0896e5 to 3315d56 Compare September 12, 2023 23:32
Copy link
Member

@ZLLentz ZLLentz 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 to me

@joshc-slac joshc-slac merged commit 4bd56cb into master Sep 13, 2023
2 checks passed
@joshc-slac joshc-slac deleted the joshc-slac/fix_set_gem_timing branch September 13, 2023 16:35
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