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

Subject: Re: How to check if IOC is connected or not?
From: "Pearson, Matthew R." <[email protected]>
To: Ganesh Jangir <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Mon, 24 Mar 2014 10:03:32 -0400
Hi Ganesh,

> 
> I tried using CALC Record. Its 4 INP fields gets some particular value from four different  IOC and calculate some new value,By interpreting this value Sequencer come to know about the connected IOC. 
> The problem is that , in case of some disconnection of  IOC , its INP fields picking old values. And CALC record gives same value in each case. 
> Is this right approach for many IOCs? How to make  INP fields, to give different value in case of disconnection of some IOC. 
> 

One way might be to look at the STAT and/or SEVR fields of the record that is linked to the other IOC. If STAT is not in NO_ALARM state, then there is a problem (probably disconnected channel).

Cheers,
Matt

> 
> ___________________________________________________ 
> I am using 
> Epics base-3.14.12.3
> Sequencer seq-2.1.16
> OS: Linux Fedora 19  64bit
> 
> I have following settings. 
> export EPICS_ROOT=/home/ganesh/epics 
> export EPICS_HOST_ARCH=linux-x86_64 
> export EPICS_BASE=$EPICS_ROOT/base-3.14.12.3 
> export EPICS_EXTENSIONS=$EPICS_ROOT/extensions 
> export EPICS_CA_ADDR_LIST="192.168.8.2 192.168.8.3 192.168.8.4 192.168.8.5" 
> export MOTIF_LIB=/usr/lib64/ 
> export SEQ=$EPICS_ROOT/extensions/seq-2.1.16 
> export PATH=/sbin:/bin:/usr/sbin:/usr/bin:$file:$EPICS_ROOT/base-3.14.12.3/bin/linux-x86_64:/bin/linux-x86_64 
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$EPICS_BASE/lib/$EPICS_HOST_ARCH:$EPICS_EXTENSIONS/lib/$EPICS_HOST_ARCH 
> __________________________________________________________________ 
> 
> Best Regards 
> Ganesh 
> 
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> 
> 



References:
How to check if IOC is connected or not? Ganesh Jangir

Navigate by Date:
Prev: RE: How to check if IOC is connected or not? Mooney, Tim M.
Next: Re: VxWorks VME Ctrl-X vs. Power Cycle Rod Nussbaumer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: How to check if IOC is connected or not? Mooney, Tim M.
Next: Renishaw RESOLUTE encoders Andreas Balzer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·