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

Alarm severity, hysteresis and active not set in valueAlarm #43

Open
dhickin opened this issue May 5, 2016 · 0 comments
Open

Alarm severity, hysteresis and active not set in valueAlarm #43

dhickin opened this issue May 5, 2016 · 0 comments
Assignees
Labels

Comments

@dhickin
Copy link
Contributor

dhickin commented May 5, 2016

If I get the valueAlarm field of a PV such as double01 in testTop:

double01
structure 
    valueAlarm_t valueAlarm
        boolean active false
        double lowAlarmLimit 2
        double lowWarningLimit 4
        double highWarningLimit 6
        double highAlarmLimit 8
        int lowAlarmSeverity 0
        int lowWarningSeverity 0
        int highWarningSeverity 0
        int highAlarmSeverity 0
        double hysteresis 0

then the alarm severity fields are not set with the correct values:

caget double01.HHSV double01.HSV double01.LSV double01.LLSV
double01.HHSV                  MAJOR
double01.HSV                   MINOR
double01.LSV                   MINOR
double01.LLSV                  MAJOR

Similarly the hysteresis field is not set correctly:

double01.HYST                  0.1

Also alarm is definitely active, but active is set to false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants