Skip to content

Conversation

@silkenelson
Copy link
Collaborator

Motivation and Context

We have replaced two old devices with new ones. This pull request updates ipmConfigEpics accordingly.

How Has This Been Tested?

I've tested the new script to open the two new devices from MFX.

@silkenelson silkenelson requested a review from a team as a code owner September 3, 2025 20:45
@silkenelson silkenelson requested review from Copilot and removed request for a team September 3, 2025 20:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR replaces two legacy IPM (Intensity Position Monitor) devices with new ones: replacing "um6_ipm" with "hxx_ipm" and "hx2_sb1" with "em3l0". It updates the ipmConfigEpics script to configure the new devices appropriately.

  • Replaces hx2_ipm device with em3l0 across all hutch configurations
  • Updates um6_ipm to hxxdg1_ipm and changes its configuration parameters
  • Adds support for WAVE8V3 GUI interface for the new em3l0 device

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +45 to +46
if [[ $1 == 'em3l0' ]]; then
BASE='EM3L0:IPM:W8:01'
Copy link

Copilot AI Sep 3, 2025

Choose a reason for hiding this comment

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

The em3l0 device configuration is missing IOC and EVR parameters that are present in other device configurations. This could cause issues if these parameters are required for proper device operation.

Suggested change
if [[ $1 == 'em3l0' ]]; then
BASE='EM3L0:IPM:W8:01'
BASE='EM3L0:IPM:W8:01'
IOC='EM3L0:IPM:W8:01:IOC' # TODO: Verify correct IOC value
EVR='EM3L0:IPM:W8:01:EVR' # TODO: Verify correct EVR value

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is not needed for this new device as the needed variables are set in the auto-generated screen command which is available in a PV.

copilot suggested fix.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@silkenelson silkenelson merged commit 9351f1e into pcdshub:master Sep 3, 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.

1 participant