It should be possible to use a waveform record of type string (ftvl 0)
and NELM 235, initialized with the 235 error messages and a subArray
record with NELM 1 and MALM 235. Then set the subArray INDX to the error
number. Setting the subArray INDX will cause processing of the subArray
and its value should go to being the error message string.
I've never tried this. I'm concerned that initializing the waveform
record may not be straightforward and that some CA clients may not deal
with the array o f strings correctly, although the single reference in
the subArray should be a simple case.
Carl
David Dudley wrote:
At a remote site, I have a backup generator that I am monitoring through
an EPICS IOC. When the generator faults offline, it sends a numeric
fault to the IOC of what the particular error is.
I want to display a text error message instead of the fault number on
my edm display. The generator generates 1 of 235 errors. How do I
convert the error number into a text message, and return it through a ca
link? The error number I can easily return, but is there a way to build
a 'lookup table' in EPICS?
Also, is there a way to have the IOC send out an email alert when the
system faults? The site is around 50 miles from my office, but only
around 5 miles from our nearest service person. I would rather have the
system email the service person with errors like "Unit Overheat", or
"Unit Maintenance Preset" or other errors, rather than me have to look
up the error code and then figure out who to notify.
David
------------------------------------------------------------------------
BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:David Dudley
TEL;WORK:880-3740
ORG:;MIS
TEL;PREF;FAX:880-3741
EMAIL;WORK;PREF;NGW:[email protected]
N:Dudley;David
END:VCARD
--
Carl Lionberger
Control System Software Engineer
Berkeley National Laboratory (LBNL)
(510) 486-7503
- References:
- EPICS: Selecting a Text Error Message David Dudley
- Navigate by Date:
- Prev:
Re: CALC expression feature request Andrew Johnson
- Next:
Re: EPICS: Selecting a Text Error Message Schoeneburg, Bernd
- 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: EPICS: Selecting a Text Error Message Bill Nolan
- Next:
Re: EPICS: Selecting a Text Error Message Schoeneburg, Bernd
- 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
|