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

PV status low, high, lolo, hihi always set to 0 #11

Closed
GoogleCodeExporter opened this issue Mar 14, 2015 · 4 comments
Closed

PV status low, high, lolo, hihi always set to 0 #11

GoogleCodeExporter opened this issue Mar 14, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

I am not able to set some value to the low, high, lolo, hihi status variables. 
In the example alarm_severity.py in the pcaspy-0.4.1/example directory the 
variables are set to not equal zero:

$ python alarm_severity.py

in another console cainfo does not show me any alarm values:

$ cainfo MTEST:RAND

MTEST:RAND
    State:            connected
    Host:             10.0.2.15:5064
    Access:           read, write
    Native data type: DBF_DOUBLE
    Request type:     DBR_DOUBLE
    Element count:    1

I also tried with pyepics on the ipython console:

In [1]: import epics
In [2]: pv=epics.PV('MTEST:RAND')
In [3]: print pv.info                                            
== MTEST:RAND  (native_double) ==
   value      = 0
   char_value = '0'
   count      = 1
   nelm       = 1
   type       = double
   units      = 
   precision  = 3
   host       = 10.0.2.15:5064
   access     = read/write
   status     = 17
   severity   = 3
   timestamp  = 1412767230.217 (2014-10-08 04:20:30.21738)
   upper_ctrl_limit    = 0.0
   lower_ctrl_limit    = 0.0
   upper_disp_limit    = 0.0
   lower_disp_limit    = 0.0
   upper_alarm_limit   = 0.0
   lower_alarm_limit   = 0.0
   upper_warning_limit = 0.0
   lower_warning_limit = 0.0
   PV is internally monitored, with 0 user-defined callbacks:
=============================

Tested with epics
base-3.14.12.3 and
base-3.14.12.4 and
base-3.15.0.2

swig2.0
Python 2.7.5+
ubuntu 13.10

Original issue reported on code.google.com by wernwa@gmail.com on 8 Oct 2014 at 2:07

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

No branches or pull requests

1 participant