Experimental Physics and Industrial Control System
Hello John,
I recently set up an automated system to create entries in to our Elog at SLAC. It's a has three main parts, consisting of an IOC, 2 alarm handlers and shell scripts. We have one alarm handler which runs as a background process without a gui and launches the scripts to create the entries. The second alarm handler we have so users can enable/disable auto entries. It has been in production for a few months now and has been working well for us. I would be happy to provide you with more information if your interested.
~Matt
p.s. What type of person responds back to Tech-talk at 2:00 am!
Matt Boyes
Stanford Linear Accelerator Center
2575 Sand Hill Rd MS 55
Menlo Park, CA 94025
[email protected]
-----Original Message-----
From: John Dobbins [mailto:[email protected]]
Sent: Monday, January 23, 2006 7:09 PM
To: [email protected]
Subject: Automated ELOG entries from IOC
Dear All,
We are using ELOG from http://midas.psi.ch/elog/index.html and would like to be able to have an IOC make automated e-log entries. This particular package comes with source code for a command line tool for making entries and I assume this can be easily adapted to the task at hand.
I am wondering if others have done similar things and if they have any advice.
It seems non-trivial to manipulate lengthy strings in an IOC (use waveform
record?) so I was thinking it might be easier to create device support that reads in a file of pre-canned messages on start-up and then have an output record pass to device support an index to one of these messages.
However I can also think of other ways to do this, e.g. an external script that monitors a particular record via Channel Access and does the appropriate things when it sees a change.
I am open to ideas. Thanks,
John Dobbins
Laboratory of Elementary Particle Physics Cornell University
p.s. What type of person write to Tech-talk at 10:00 PM ???
- Navigate by Date:
- Prev:
Re: Automated ELOG entries from IOC Chethan Parameswariah
- Next:
Re: Automated ELOG entries from IOC Matthias Clausen
- Index:
1994
1995
1996
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: Automated ELOG entries from IOC Noboru Yamamoto
- Next:
job opening at DESY Matthias Clausen
- Index:
1994
1995
1996
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