EPICS Home

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  2014  2015  2016  <20172018  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  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Knowing if a server application is running
From: Andrew Johnson <[email protected]>
To: Bo Jakobsen <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 17 Jan 2017 10:22:22 -0600
Hi Bo,

On 01/17/2017 09:35 AM, Bo Jakobsen wrote:
> My problem is now that I would like to indicate to the user if the
> Matlab server is running or not through an EPICS record.
> 
> My thought was to periodically (e.g. at least ones per second) update a
> soft record from the Matlab server. But how can I from EPICS test if
> this has happened. It could e.g. be a time stamp, or a "running number".

 From the EPICS perspective your Matlab "server" is a CA client.

The APS uses a recordtype called runcontrol which has an associated
client-side library for controlling client access to subsystems, and as
part of its functionality it has a watchdog to confirm that the CA
client is still running. This may be a bit overkill for what you want,
but it might give you some ideas and you might even be able to reuse the
recordtype.

You can find some information about these in these tech-talk messages:
  http://www.aps.anl.gov/epics/tech-talk/2010/msg00554.php
  http://www.aps.anl.gov/epics/tech-talk/2010/msg00555.php
You'll probably want to start with the manual referenced from the second
message.

HTH,

- Andrew

-- 
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon

References:
Knowing if a server application is running Bo Jakobsen

Navigate by Date:
Prev: Knowing if a server application is running Bo Jakobsen
Next: Re: Knowing if a server application is running Matt Newville
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Knowing if a server application is running Bo Jakobsen
Next: Re: Knowing if a server application is running Matt Newville
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024