Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: dol->name
From: Tim Mooney <mooney@aps.anl.gov>
To: Emmanuel Mayssat <emmanuel_mayssat@lynceantech.com>
Cc: epics <tech-talk@aps.anl.gov>
Date: Wed, 26 Jul 2006 09:43:16 -0500


Emmanuel Mayssat wrote:

Hello,

I would like to print the field name that is in the DOL.
What are all the fields for the structure pao->dol?
pao->dol.type --- ok

I could not find this information in the header file.
My understanding is that the epics database DOL are DBF_INLINK.
Where is the associated structure?

See base/include/link.h, and start with struct link. If DOL contains a PV name, it will be in dol.value.pv_link.pvname. But note that DOL might contain a constant initializer. In this case, you'll find dol.type == CONSTANT, and you shouldn't reference dol.value.pv_link.

If dol.type != CONSTANT, then it can only be one of [PV_LINK, DB_LINK,
CA_LINK], and for all of these, dol.value.pv_link applies.

--
Tim Mooney (mooney@aps.anl.gov) (630)252-5417
Beamline Controls & Data Acquisition Group
Advanced Photon Source, Argonne National Lab.

References:
dol->name Emmanuel Mayssat

Navigate by Date:
Prev: RE: communication with rs485 multidrop device and command/response protocol Mark Rivers
Next: Re: dol->name Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: dol->name Emmanuel Mayssat
Next: Re: dol->name Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·