EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Serial port access and loging services for IOCs?
From: "Lawrence T. Hoff" <[email protected]>
To: "Thompson, David H." <[email protected]>
Cc: [email protected]
Date: Thu, 01 Mar 2007 16:35:25 -0500

At RHIC, we actually developed a server to perform that function. The server establishes connections to all the terminal servers (digis), and logs all output.

	It also periodically adds a timestamp to the
log file (between lines of output) to help correlate
messages with "external" events. It also does various
bits of file management (different log file for each
IOC, new log file each 24 hours, date included in
log file name to help searching, etc.)

	It accepts user "logins" (up to 10 per IOC)
and directs user I/O to/from the terminal server.
I.e. it allows for user interaction with the IOC console
port concurrent with data logging, and/or multiple "live"
screens looking at IOC output concurrent with logging.

	Finally, we connected the server to the DB
which indicates operational status of the IOC, so
we can selectively enable/disable IOC participation
by changing the DB entry (e.g. disable during periods
of active development).

	That last feature makes this server fairly
facility-specific, so I don't think it is helpful to
offer to share the code. Different sites probably
have different ideas about how to perform the file
management and/or timestamping anyway. If any of these
ideas sound promising for you, you could probably code
up something similar in short order.

HTH -- Larry

P.S. Sometimes systems go down even without a "last gasp".
E.g. we used to have VME "power fail modules" which failed
by continually asserting SYSRST. This does not produce any
"last gasp", and could only be remedied with a power cycle,
and only cured by replacing the "power fail module".



References:
Serial port access and loging services for IOCs? Thompson, David H.

Navigate by Date:
Prev: Re: Serial port access and loging services for IOCs? Rodney R. Porter
Next: Re: Serial port access and loging services for IOCs? Pete Jemian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Serial port access and loging services for IOCs? Rodney R. Porter
Next: Re: Serial port access and loging services for IOCs? Pete Jemian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·