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

This is not a question, but may be need to notify observer #91

Open
Contemporaries opened this issue Oct 24, 2023 · 1 comment
Open

Comments

@Contemporaries
Copy link

Contemporaries commented Oct 24, 2023

When device was disconnected, at Phoebus GUI still display last value if not re-load GUI.
The observer cannot know whether the device is disconnected or the program error has occurred

Are there any parameters to set PV state to show status of the disconnected device?

@Contemporaries Contemporaries changed the title This is not question, but may be need to notify observer This is not a question, but may be need to notify observer Oct 24, 2023
@xiaoqiangwang
Copy link
Collaborator

It is possible to call Driver.setParamStatus on that PV.

This example is for a string typed PV,
https://github.com/paulscherrerinstitute/pcaspy/blob/master/example/alarm_severity.py

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

No branches or pull requests

2 participants