EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20202021  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CSS Phoebus spinner step size
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, "Pietryla, Anthony F." <afp at anl.gov>
Date: Fri, 21 Aug 2020 18:08:09 +0000
How can I adjust the step size of a spinner widget in Phoebus without editing the display?

If you want to provide users with a way to adjust the "increment" property of a spinner in a display, you can add for example a text field adjacent to the spinner, connect it to a PV "loc://incr(1)", and then have a rule on the spinner that updates its "increment" property from that PV:
Add rule to spinner, trigger PV "loc://incr(1)", check "Value as _expression_", with just one _expression_ with boolean "true" and value "pv0".

Instead of a local PV for an increment that's per-display you could also use a global PV if all users of that spinner should use the same increment.
Instead of putting the increment PV on the display, you could also have a rule that computes the increment from for example the current value, i.e. the increment changes automatically based on the value.

-Kay


References:
CSS Phoebus spinner step size Pietryla, Anthony F. via Tech-talk

Navigate by Date:
Prev: CSS Phoebus spinner step size Pietryla, Anthony F. via Tech-talk
Next: Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers Ralph Lange via Tech-talk
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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: CSS Phoebus spinner step size Pietryla, Anthony F. via Tech-talk
Next: EPICS 7.0.4.1 released Michael Davidsaver via Tech-talk
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  <20202021  2022  2023  2024 
ANJ, 24 Aug 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·