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: Quickly Connecting EPICS iocsh variables to records
From: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: Matt Rippa <matt.rippa at noirlab.edu>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Wed, 8 Dec 2021 21:47:44 +0000
Hi Matt,

On Dec 8, 2021, at 3:02 PM, Matt Rippa via Tech-talk <tech-talk at aps.anl.gov> wrote:

What's the easiest way to connect "variable(foo, int)" lines in my dbd file to epics records?
I have many such variables throughout my code for debugging using epicsExportAddress(int, foo) in my C code. 

The code from the devSymb device support could probably be modified to make those variables available, but you’d have to replace the symbol lookup code with calls to epicsFindSymbol() (declared in epicsFindSymbol.h). I think I was originally planning to change that module to use the registered variables (possibly in addition to using epicsFindSymbol) but I never got around to actually doing that.

- Andrew

-- 
Complexity comes for free, simplicity you have to work for.


Replies:
Re: Quickly Connecting EPICS iocsh variables to records Matt Rippa via Tech-talk
References:
Quickly Connecting EPICS iocsh variables to records Matt Rippa via Tech-talk

Navigate by Date:
Prev: Quickly Connecting EPICS iocsh variables to records Matt Rippa via Tech-talk
Next: Re: Quickly Connecting EPICS iocsh variables to records Matt Rippa 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: Quickly Connecting EPICS iocsh variables to records Matt Rippa via Tech-talk
Next: Re: Quickly Connecting EPICS iocsh variables to records Matt Rippa 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, 08 Dec 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·