1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 <2014> 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 <2014> 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Ai device supports: smoothing issue when receiving FP values |
From: | Ralph Lange <[email protected]> |
To: | EPICS Tech-Talk <[email protected]> |
Date: | Wed, 06 Aug 2014 11:42:32 +0200 |
All, There's an issue that has been identified and fixed recently, which affects device supports for the analog input record that handle incoming float and double values. [1] Possibly affected: device support for field buses, intelligent devices, PLCs, serial connections, ... If you are maintaining such a device support, please read the details and take action, if necessary. If not, stay calm and carry on. Cheers, ~Ralph Details: Any device support for the analog input record that handles floating point values (e.g., IEEE 754) being sent by the device has to apply the smoothing algorithm in the device support, as the record support does this as part of converting from integer to double, which is not used in case the device sends floating point values. Typically, such a code snipped would look like:
A possible simple fix is extending the condition:
[1] https://bugs.launchpad.net/epics-base/+bug/1351332 |