EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: SNL reconnects across CA
From: Andy Foster <[email protected]>
To: Epics Questions <[email protected]>
Date: Tue, 1 Aug 1995 15:55:49 +0100 (BST)
According to the SNL documentation, channel disconnects
and reconnects during execution of a state program are 
handled by the sequencer.

I am having problems with the following scenario:
I am using state code (running in a source IOC) to 
monitor the output of a record in a target IOC. In 
each state, I have the statement: 

  when( pvConnectCount() < pvChannelCount() )
  {
    printf("Connection Lost\n");
  } state init

The init state is:

  state init
  {
    when( pvConnectCount() == pvChannelCount() )
    {
      printf("All Channels connected\n");
    } state watch_car
    when( delay(5.0) )
    {
      printf("Waiting...\n");
    } state init
  }

The problem occurs when either:

(a) The source IOC comes up before the target IOC
or
(b) The target IOC gets rebooted.

Basically, the number of channel connections remains
the same as it was when the source IOC came up. There does
not seem to be any updating of the connections when the
target IOC comes up.
Is this a known problem or am I missing something?

I was expecting the source IOC to change from "Waiting..." to 
"All channels connected..." when the target came up.

By the way, I have used the -c compiler option.
Any hints?

==========================================================================
Andy Foster
Royal Greenwich Observatory		Tel:    44 (0)1223 374899 (direct)
Madingley Road				E-mail: [email protected]
Cambridge
CB3 0HA
UK


Navigate by Date:
Prev: Re: Hardware Supported by EPICS winans
Next: R3.12 EPICS BUG Report (CA fails under HPUX) Jeff Hill
Index: 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  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: Hardware Supported by EPICS Tim Mooney
Next: R3.12 EPICS BUG Report (CA fails under HPUX) Jeff Hill
Index: 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  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 ·