Skip to content

FIX: ignore beamclas invalid reading in NC mode#143

Merged
ghalym merged 2 commits intopcdshub:masterfrom
ghalym:beamclass-nc-veto
Jan 5, 2026
Merged

FIX: ignore beamclas invalid reading in NC mode#143
ghalym merged 2 commits intopcdshub:masterfrom
ghalym:beamclass-nc-veto

Conversation

@ghalym
Copy link
Contributor

@ghalym ghalym commented Dec 16, 2025

Description

Made changes to the function block that reads the SC beamclass, so it will not fault if the beamclass reading is invalid when machine is running in NC mode.

Motivation and Context

(https://jira.slac.stanford.edu/browse/ECSENG-1551)
SC beam will be in shutdown for the next year for He upgrades with its services and IOC.
One of those is the one that broadcasts the beamclass.
This was noticed yesterday when SC beam shutdown but we were still running NC. We had to bypass the fault.

How Has This Been Tested?

Where Has This Been Documented?

Pre-merge checklist

  • Libraries are set to Always Newest version (Library, *)
  • Code works interactively
  • Code contains descriptive comments
  • Test suite passes locally
  • Committed with pre-commit or ran pre-commit run --all-files
  • Check that BP_IO parameters weren't modified unintentionally

@ghalym ghalym requested review from a team as code owners December 16, 2025 18:04
@ghalym ghalym requested review from NSLentz and ZLLentz and removed request for a team December 16, 2025 18:04
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.

Seems like this must be correct
For my review I confirmed that nMachinemode 0 is NC

@ghalym ghalym merged commit 1142688 into pcdshub:master Jan 5, 2026
9 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