EPICS Home

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  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: dol->name
From: Tim Mooney <[email protected]>
To: Emmanuel Mayssat <[email protected]>
Cc: epics <[email protected]>
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 ([email protected]) (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  2018  2019  2020  2021  2022  2023  2024 
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  2018  2019  2020  2021  2022  2023  2024