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  <20162017  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to use registry to replace vxWorks symLib?
From: Andrew Johnson <[email protected]>
To: <[email protected]>
Date: Wed, 20 Apr 2016 11:18:50 -0500
Hi Mike,

On 04/20/2016 09:05 AM, Michael Westfall wrote:
> Is there a tutorial or example somewhere that could help me understand
> how to convert a driver to use the EPICS registry in place of the
> vxWorks symLib?

Can you give a bit more information about what symbols this driver is
looking up?

The EPICS registry isn't really a general-purpose symbol table, any
symbol that needs to be found using it must first have been registered,
usually in a C++ static constructor. It is possible to add your own
symbol types if you need that (see registry.h; a registryID is just any
pointer which must be the same for both registration and lookup).

You might want to take a look at the epicsFindSymbol.h API in libCom
which provides a generic API to any underlying OS symbol table; this
might be sufficient for your purposes, although some OSs might not be
able to support it (implementations are provided for VxWorks, Linux,
solaris, Darwin and Windows).

HTH,

- Andrew

-- 
There are only two hard problems in distributed systems:
  2. Exactly-once delivery
  1. Guaranteed order of messages
  2. Exactly-once delivery
 -- Mathias Verraes

Replies:
Re: How to use registry to replace vxWorks symLib? Michael Westfall
References:
How to use registry to replace vxWorks symLib? Michael Westfall

Navigate by Date:
Prev: Re: Script BOY IntensityGraph to show areaDetector output of variable size Phil Atkin
Next: Re: Script BOY IntensityGraph to show areaDetector output of variable size Pearson, Matthew R.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: How to use registry to replace vxWorks symLib? Michael Westfall
Next: Re: How to use registry to replace vxWorks symLib? Michael Westfall
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·