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  <20132014  2015  2016  2017  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: dbGetLink with options
From: "Zhang, Dehong" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Sat, 26 Oct 2013 09:35:44 -0700
Hi Friends,

I am trying to fetch the value from a PV in another IOC.  I would like to get the connection
status and alarm severity in one call.  According to the developer's guide, these can be done
by setting the options (3.14.12), but whenever I set the options to none-zero (with the proper
return structure), it fails.

I did a "grep dbGetLink *" in base/***/src/rec.  It seems nobody uses options.

Do I need to explicitly call dbCaGetLink, and check the link status and alarm severity by
calling dbCaIsLinkConnected and dbCaGetSevr?

By the way, dbGetLink always returns "0", even when it fails or when the link is not there.

Guess I missed something.  Please tell me how to do this correctly.

Thanks much, best regards,
Dehong

Replies:
Re: dbGetLink with options Andrew Johnson

Navigate by Date:
Prev: Re: EPICS record time delay Miroslav Mihaylov
Next: Re: EPICS record time delay Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS record time delay Dirk Zimoch
Next: Re: dbGetLink with options Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·