EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: How can I know the Status of an IOC (running or not...)
From: Ralph Lange <[email protected]>
To: [email protected]
Cc: EPICS Tech-Talk <[email protected]>
Date: Wed, 12 Mar 2003 16:49:36 +0100
Hi Florent,

from within the EPICS State Notation Compiler / Sequencer (which is a
widely used tool to write state machines that integrate into an EPICS
system) you can access the status of a CA connection using the builtin
functions pvConnected() and pvConnectCount().


  http://www.aps.anl.gov/epics/modules/base/R3-14/1.php

contains a link to the sequencer documentation,

  http://www.aps.anl.gov/epics/modules/base/R3-14/1-docs/CAref.html#Connection

is the paragraph in the CA documentation that Jeff is referring to.


Of course, all this will only tell you about the state of a channel
access network connection for a particular channel or IOC. If you really
want to know if the IOC is running (and not just a network connector has
been pulled, a network switch is down etc.) you will have to have an
independent hardware (probably VME) based monitoring solution that uses
a separate network.

Ralph


>>>>> "Jeff" == Jeff Hill <[email protected]> writes:

  > The connection state callback handler can be used to keep your
  > application responsive to the state of health of the IOC. 

  > Alternatively, you can create a process variable that
  > periodically toggles its state, and then connect a monitor
  > subscription to this process variable so that the monitor update
  > callbacks provide verification of the communication link.

  > Jeff

  >> -----Original Message-----
  >> From: LANGLOIS Florent [mailto:florent.langlois@synchrotron-
  >> soleil.fr]
  >> Sent: Wednesday, March 12, 2003 6:15 AM
  >> To: [email protected]
  >> Subject: How can I know the Status of an IOC (running or
  > not...)
  >> 
  >> Hi all,
  >> 
  >> is there a way to know the status of an IOC ?
  >> i mean without waiting the return of a CA call.
  >> is there for example a status register or something?
  >> so that i can manage a state machine in my CA client.
  >> 
  >> thanks
  >> 
  >> 
  >> Florent Langlois
  >> _______________________
  >> 
  >> Division Informatique
  >> Synchrotron SOLEIL
  >> L'Orme des Merisiers
  >> St-Aubin - BP 48
  >> 91192 GIF-sur-YVETTE
  >> 
  >> Tél : 01.69.35.93.31
  >> [email protected]
  >> www.synchrotron-soleil.fr


References:
How can I know the Status of an IOC (running or not...) LANGLOIS Florent
RE: How can I know the Status of an IOC (running or not...) Jeff Hill

Navigate by Date:
Prev: RE: How can I know the Status of an IOC (running or not...) Jeff Hill
Next: resume vijay patel
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: How can I know the Status of an IOC (running or not...) Jeff Hill
Next: resume vijay patel
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·