prev. value fields not initialized in init_record

Bug #546991 reported by mdavidsaver on 2010-03-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

It looks like none of the previous value fields (MLST, ALST, LALM, OVAL, ORBV, ...) get initialized for any recordtype. This is a problem if a device support init_record() modifies VAL, RVAL, or RBV.

I encountered this problem with a bo record. init_record() sets VAL to 1 while MLST remains 0. Later when VAL is set back to 0 no monitor will be posted since VAL==MLST.

The attached patch sets all such fields that I could find, but needs review.

Tags: rec Edit Tag help

Related branches

mdavidsaver (mdavidsaver) wrote :

same patch without Git header...

Andrew Johnson (anj) on 2010-03-25
tags: added: rec
removed: db
Changed in epics-base:
assignee: nobody → mdavidsaver (mdavidsaver)
status: New → Fix Committed
Andrew Johnson (anj) on 2010-11-24
Changed in epics-base:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers