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  2020  <20212022  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Control SCAN field with ai record
From: "Hartman, Steven via Tech-talk" <tech-talk at aps.anl.gov>
To: Stainer Tom <Tom.Stainer at sckcen.be>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 19 May 2021 15:01:29 +0000


On May 19, 2021, at 10:14 AM, Stainer Tom via Tech-talk <tech-talk at aps.anl.gov> wrote:

Or is there a way to import the mapping in the db file to avoid this redundancy?


Depending on how you intend to set this field, you may not need to. As mentioned previously, you can write directly to scan:calc.SCAN to set the record’s scan value. Your graphical user interface will probably make this easy. For example, using a Combo Box widget in CS-Studio Phoebus with the PV scan:calc.SCAN will give you this:



(Other EPICS display managers will likely be similar.) The .SCAN field is an enumerated PV and the enumerations are conveniently displayed automatically with no additional configuration necessary. 


-- 
Steven Hartman
hartmansm at ornl.gov




References:
Control SCAN field with ai record Stainer Tom via Tech-talk
Re: Control SCAN field with ai record Žiga Oven via Tech-talk
RE: Control SCAN field with ai record Stainer Tom via Tech-talk

Navigate by Date:
Prev: RE: Control SCAN field with ai record Stainer Tom via Tech-talk
Next: Edwards SCU-800 Mattison, Kevin J 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  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: RE: Control SCAN field with ai record Stainer Tom via Tech-talk
Next: Edwards SCU-800 Mattison, Kevin J 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  2020  <20212022  2023  2024 
ANJ, 19 May 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·