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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: [EXTERNAL] phoebus Tank widget: Limits from PV? |
From: | Paul Sichta via Tech-talk <tech-talk at aps.anl.gov> |
To: | "Kasemir, Kay" <kasemirk at ornl.gov> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 5 Jul 2023 15:35:04 -0400 |
When I try it with this type of record, tank & meter & progress bar all get the 0..10 range from the record:
record(calc, "ramp")
{
field(SCAN, "1 second")
field(INPA, "ramp")
field(CALC, "A<10?A+1:0")
field(HOPR, "10")
field(LOPR, "0")
}
In “probe” you should also see “Display Range: 0.0 .. 10.0”, and from a command line `caget -d CTRL_DOUBLE ramp` should show the same Lo and Hi disp limit.