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: error code mapping best practice
From: "Martin L. Smith" <[email protected]>
To: Emmanuel Mayssat <[email protected]>
Cc: [email protected]
Date: Tue, 10 Jul 2007 06:18:18 -0500
Emmanuel Mayssat wrote:
Hello,
I have a device that returns error codes as integers (error code stored
in a ai record).
The error codes needs to be mapped to the corresponding strings.
I have approximately 300 error codes.
What would you say is the most elegant way to implement the translation?
Custom record? seq? etc.

Thank you for your advice,
--
E



I have a similar situation and I use a SNL program to do the lookup
for me and put the text to a stringin record.

Marty
References:
error code mapping best practice Emmanuel Mayssat

Navigate by Date:
Prev: Re: error code mapping best practice Tim Mooney
Next: Re: error code mapping best practice Rodney R. Porter
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: error code mapping best practice Tim Mooney
Next: Re: error code mapping best practice Rodney R. Porter
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 ·