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

Subject: Re: ezca and ENUM
From: Andrew Johnson <[email protected]>
To: "D. Peter Siddons" <[email protected]>
Cc: [email protected]
Date: Thu, 24 Aug 2006 09:58:16 -0500
D. Peter Siddons wrote:
I noticed that the ezca library does not recognize ENUM as a valid data type. One can work around that by telling it to use a SHORT instead. If

Would it help to use string data for doing I/O to DBF_ENUM fields? That way you don't need to know the exact ENUM definition (which could change at runtime even for mbbx.VAL fields); your code just uses the strings for the states that you need to use, and the IOC does the necessary conversions automatically.


Just an idea,

- Andrew
--
There is considerable overlap between the intelligence
of the smartest bears and the dumbest tourists.
  -- Yosemite National Park Ranger

Replies:
Re: ezca and ENUM D. Peter Siddons
References:
ezca and ENUM D. Peter Siddons

Navigate by Date:
Prev: Re: VME Bus Error handling on MVME3100 and 6100 boards Kate Feng
Next: Re: ezca and ENUM D. Peter Siddons
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: ezca and ENUM D. Peter Siddons
Next: Re: ezca and ENUM D. Peter Siddons
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·