|
I have an analog output record which outputs to another analog output record (published by different IOC) as defined below
================================================================================
record(ao, "PIP2:CTRL_MPS:4:AO:SLOW_SET:CH:1") {
field(OUT, {pva:{"pv":"acq2106_345:4:AO:SLOW_SET:CH:1"}})
}
================================================================================
Just after IOC is initiated, dbpr query on this PV says it is undefined and severity is invalid.
After assigning a value to this PV, invalid severity disappears.
===============================================================================
epics> dbpr PIP2:CTRL_MPS:4:AO:SLOW_SET:CH:1
AMSG: ASG : DESC: DISA: 0
DISV: 1 NAME: PIP2:CTRL_MPS:4:AO:SLOW_SET:CH:1 NAMSG:
OMOD: 0 OVAL: 0 RBV : 0 RVAL: 0
SEVR: INVALID STAT: UDF TPRO: 0 VAL : 0
epics>
epics>
epics>
epics>
epics> dbpf PIP2:CTRL_MPS:4:AO:SLOW_SET:CH:1 5
DBF_DOUBLE: 5
epics>
epics>
epics> dbpr PIP2:CTRL_MPS:4:AO:SLOW_SET:CH:1
AMSG: ASG : DESC: DISA: 0
DISV: 1 NAME: PIP2:CTRL_MPS:4:AO:SLOW_SET:CH:1 NAMSG:
OMOD: 0 OVAL: 5 RBV : 0 RVAL: 5
SEVR: NO_ALARM STAT: NO_ALARM TPRO: 0 VAL : 5
Is it possible to get rid of this invalid severity even before writing a value to this PV ?
I tried different tricks for example setting field(VAL, "0") and field(PINI, "YES"), but none of them was successful.
Thanks
Varuna Meddage
|