Skip to content

Commit

Permalink
Merge pull request #47 from dhickin/fix_issue_46
Browse files Browse the repository at this point in the history
Add property data to monitor structures
  • Loading branch information
ralphlange committed May 10, 2016
2 parents ab06a5e + ef4edf9 commit a1a79d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/dbPv/3.14/dbPvMonitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ bool DbPvMonitor::init(
elements.push_back(element);
}
MonitorElementPtr element = elements[0];
dbUtil->getPropertyData(monitorRequester,propertyMask,dbAddr,element->pvStructurePtr);
StructureConstPtr saveStructure = element->pvStructurePtr->getStructure();
if((propertyMask&dbUtil->enumValueBit)!=0) {
caType = CaEnum;
Expand Down
2 changes: 2 additions & 0 deletions src/dbPv/3.15/dbPvMonitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ bool DbPvMonitor::init(
elements.push_back(element);
}
MonitorElementPtr element = elements[0];
dbUtil->getPropertyData(monitorRequester, propertyMask,
dbPv->getDbChannel(), element->pvStructurePtr);
StructureConstPtr saveStructure = element->pvStructurePtr->getStructure();
if((propertyMask&dbUtil->enumValueBit)!=0) {
caType = CaEnum;
Expand Down

0 comments on commit a1a79d8

Please sign in to comment.