ISISComputingGroup / lewis-ess

Let's write intricate simulators!
GNU General Public License v3.0
21 stars 19 forks source link

PVs should only be updated if value would change #254

Closed MichaelWedel closed 7 years ago

MichaelWedel commented 7 years ago

The EpicsAdapter currently updates PVs periodically, in a specified poll interval. The update should only be performed if the value actually changed, which would also provide more useful log messages regarding these updates.

MichaelWedel commented 7 years ago

pcaspy already makes sure that value updates are only propagated if the value actually changes, so that is not even a problem - but the log messages still are and doing the check beforehand does not hurt.