Skip to content

Commit

Permalink
Merge pull request #210 from slaclab/ESCRYODET-119
Browse files Browse the repository at this point in the history
Fix sync read from epics
  • Loading branch information
slacrherbst authored Apr 20, 2018
2 parents 43b6508 + 9072901 commit 032eab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rogue/protocols/epicsV3/Variable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ void rpe::Variable::valueGet() {
rogue::ScopedGil gil;
log_->info("Synchronous read for %s",epicsName_.c_str());
try {
if ( isString_ ) fromPython(var_.attr("valueDisp")());
else fromPython(var_.attr("value")());
if ( isString_ ) fromPython(var_.attr("disp")());
else fromPython(var_.attr("get")());
} catch (...) {
log_->error("Error getting values from epics: %s\n",epicsName_.c_str());
}
Expand Down

0 comments on commit 032eab7

Please sign in to comment.