Skip to content

Conversation

@vshekar
Copy link
Collaborator

@vshekar vshekar commented Jan 5, 2026

This pull request introduces support for new cryostream hardware (the "CS1000" model) on the AMX and FMX beamlines, updating both backend device definitions and the user interface to allow users to set the cryostream temperature and ramp rate. It also removes outdated references to the old CS700 hardware and updates process variable (PV) names to match the new hardware. The most important changes are grouped below.

Cryostream Hardware and Device Updates:

  • Updated the cryostream device initialization in start_bs.py to use the new cs1000 (CS1000) hardware and the correct PV prefix for both AMX and FMX beamlines, replacing the old cs700 (CS700) device. [1] [2]
  • Updated the CryoStream class in mxbluesky/devices/cryostream.py to use new PV suffixes for temperature readback, setpoint, ramp rate, and actuation, matching the CS1000 hardware interface.
  • Updated the cryostreamTempPV dictionary in config_params.py to use the new PVs for AMX and FMX, removing the old CS700 references.

Backend Functionality:

  • Added new backend functions set_cryostream_temp and set_cryostream_ramp_rate in daq_macros.py to allow setting the cryostream temperature and ramp rate from the application.
  • Registered these new backend functions in the list of available server commands in daq_main_common.py.

User Interface Enhancements:

  • Added new UI elements in gui/dialog/user_screen.py for users to set the cryostream temperature and ramp rate, including input fields and buttons, and connected them to the backend via new callback methods. [1] [2] [3]

Copy link

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 pull request upgrades the cryostream hardware support from CS700 to CS1000 for the AMX and FMX beamlines, introducing user-facing controls for setting cryostream temperature and ramp rate.

Key Changes:

  • Updated hardware device definitions to use CS1000 with new PV prefixes and suffixes matching the CS1000 interface
  • Added backend functions set_cryostream_temp and set_cryostream_ramp_rate to control cryostream parameters
  • Added UI controls in the user screen dialog (FMX only) for setting temperature and ramp rate

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
start_bs.py Updated AMX and FMX beamline initialization to use cs1000 device with new PV prefixes
mxbluesky/devices/cryostream.py Updated CryoStream class with new PV suffixes for CS1000 hardware and added ramp_rate component
config_params.py Updated cryostreamTempPV dictionary with new CS1000 PV paths for AMX and FMX
daq_macros.py Added set_cryostream_temp and set_cryostream_ramp_rate backend functions
daq_main_common.py Registered new cryostream functions in server commands list
gui/dialog/user_screen.py Added UI elements for temperature and ramp rate control with callbacks (FMX only)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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