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: | caput output |
From: | "Leblanc, Gregory via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Thu, 13 May 2021 17:43:47 +0000 |
Hi folks! I was working on the installation instructions to make them a bit more clear, and I ran across some caput behavior that I didn’t expect, but I’m not sure if that’s just because I’m not sure what to expect. I looked at the CAref.html doc
(https://epics.anl.gov/base/R3-15/7-docs/CAref.html#CommandTools) but this points to EPICS Base R3, and I didn’t know if there were any chances for R7. Anyway, it looks to me like the MDEL field in my test.db only affects camonitor, and not caget.
Test.db: record(ai, "temperature:water") { field(DESC, "Water temperature in the fish tank") field(MDEL, "0.01") } Caput commands: $ caput temperature:water 15.6 Old : temperature:water 15.5003 New : temperature:water 15.6 $ caput temperature:water 15.6001 Old : temperature:water 15.6 New : temperature:water 15.6001 $ caput temperature:water 15.61 Old : temperature:water 15.6001 New : temperature:water 15.61 $ caput temperature:water 15.62 Old : temperature:water 15.61 New : temperature:water 15.62 And from camonitor: temperature:water 2021-05-13 13:36:04.090862 15.6
temperature:water 2021-05-13 13:36:14.587731 15.62
Greg -- Gregory Leblanc Accelerator Engineer Edwards Accelerator Lab - Ohio University 123 University Terrace Athens, OH 45701 M: (401) 52-OUAL1 or (401) 526-8251 |