Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: Automated ELOG entries from IOC
From: Maren Purves <m.purves@jach.hawaii.edu>
To: John Dobbins <jad@lepp.cornell.edu>
Cc: tech-talk@aps.anl.gov
Date: Mon, 23 Jan 2006 18:34:48 -1000 (HST)
Hi John,

On Mon, 23 Jan 2006, John Dobbins wrote:

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.

we use subroutine records for some applications where this is required,
in some cases translating into bos/mbbos. If all you need out of a device response is an inidication that something is OK or not OK a bo will of course do, and you can hide all the details in the subroutine record, or pass the details into a string record.


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.

Depending on where you need this (whatever the appropriate thing is) done you may be ble to use the alarm handler for this.

I am open to ideas. Thanks,

Not sure this helps,


Maren Purves
UKIRT

John Dobbins
Laboratory of Elementary Particle Physics
Cornell University

p.s. What type of person write to Tech-talk at 10:00 PM ???

It's only 18:30 where I am. Working at a telescope I can think of good occasions to write to tech-talk late at night.

Replies:
Re: Automated ELOG entries from IOC Chethan Parameswariah
References:
Automated ELOG entries from IOC John Dobbins

Navigate by Date:
Prev: Automated ELOG entries from IOC John Dobbins
Next: Re: Automated ELOG entries from IOC Chethan Parameswariah
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Automated ELOG entries from IOC John Dobbins
Next: Re: Automated ELOG entries from IOC Chethan Parameswariah
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·