Skip to content

Replace Old device.screen; Add Target Controls#152

Merged
robnagler merged 35 commits intomainfrom
device-screen
Feb 4, 2026
Merged

Replace Old device.screen; Add Target Controls#152
robnagler merged 35 commits intomainfrom
device-screen

Conversation

@eloise-nebula
Copy link
Collaborator

This PR updates the sliclet with a new event based slicops.device.screen. It also adds target controls and upstream controls to the API and UI.

@robnagler robnagler changed the title Replace Old device.screen; Add Target Cotnrols Replace Old device.screen; Add Target Controls Sep 16, 2025
@eloise-nebula
Copy link
Collaborator Author

Having a problem in screen2_test.py where TGT_STS is connecting to the monitor but not sending its value afterwards. The result is screen is uninitialized and breaks the test. Not sure what changed between this version and the last one.

@eloise-nebula eloise-nebula marked this pull request as ready for review September 25, 2025 23:30
@eloise-nebula
Copy link
Collaborator Author

Had a good talk with Paul and worked it out. New path through the state machine will fire action_move_target if move_target_arg is set and target_status is None i.e. target_status is not initialized yet. Need to add a timeout in case we connect but never get a target_status back.

Copy link
Collaborator

@robnagler robnagler left a comment

Choose a reason for hiding this comment

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

Just saw this and wanted to give a comment

@eloise-nebula eloise-nebula requested a review from moellep October 6, 2025 19:07
- removed special DEV_CAMERA code in device/__init__.py
- updated epics sim-detector to simulate add/remove target
- added DEV_CAMERA2 for example camera which has no targets
@moellep moellep requested a review from robnagler October 9, 2025 20:57
@robnagler robnagler enabled auto-merge (squash) February 4, 2026 22:03
@robnagler robnagler merged commit bb1d859 into main Feb 4, 2026
1 check passed
@robnagler robnagler deleted the device-screen branch February 4, 2026 22:04
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.

3 participants