|
|
Experimental Physics and
| ||||||||||||||
|
|
> I’m able to read the database fields STAT and SEVR with pvxget, but not allowed to set them with pvxput.
To disable alarms, you would not write to the STAT/SEVT but to the alarm configuration fields. For analog records that’s LOLO, LOW, HIGH, HIHI and/or associated levels LLSV,LSV,HSV,HHSV.
For example, to disable a HIGH alarm you should be able to use any of
caput record.HSV NO_ALARM
pvput record.HSV NO_ALARM
pvxput record.HSV NO_ALARM
But you might have found an issue in the PVXS command line tool, because the last line gives
Error St13runtime_error : Unable to assign value from “NO_ALARM"
Should also be able to write the numeric values 0, 1, 2, 3 for NO_ALARM, MINOR, MAJOR, INVALID, and again that works with caput and pvput but pvxput gives a similar error
Error St13runtime_error : Unable to assign value from "0"
| ||||||||||||||
| ANJ, 19 Mar 2026 |
·
Home
·
News
·
About
·
Talk
·
Base
·
Modules
·
Extensions
·
· Distributions · Download · Documents · Links · Licensing · |