-
Notifications
You must be signed in to change notification settings - Fork 9
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
Be able to force Out records into an error state #53
Comments
Was there any progress on this? We need it for PandABlocks/PandABlocks-ioc#107. |
@Araneidae and I have just discussed this. In principle we can do it. There are some behavioural questions though, such as whether this alarm should be "sticky" or whether it should clear on next write, that sort of thing. Could you give us an example of what you'd want/expect to see, assuming we invent some |
It's worth pointing out that doing this requires a hack and is not directly supported by EPICS. |
The use case we're looking at is when the PandABlocks ioc stops receiving data from the client. We don't want to end the process, but mirror what other iocs do - keep the PVs active and in an error state.
|
Currently there is no explicit way to force an Out record into an error state. The
set()
method on In records provides theseverity
andalarm
keyword arguments (as well as theset_alarm()
method), but there is no equivalent mechanism for Out records. Providing this would be useful for the PandABlocks-client PythonSoftIOC integration, as PandA can report fields as being in_error, and the associated records are often Out types.The text was updated successfully, but these errors were encountered: