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: ezca and ENUM
From: "D. Peter Siddons" <[email protected]>
To: [email protected]
Date: Thu, 24 Aug 2006 09:18:17 -0400
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 we get the data type from the field itself, it is then necessary to wrap the ezca call and trap ENUMs and make the switch to SHORT. I had trouble when trying to post monitors on ENUM fields, such as the CNT field in the scaler record. the ezcaNewMonitorValue function tries hard to guarantee valid data is received by simply returning true if any error occurs. The idea is that this forces the application to make a read, whether it's needed or not. I was using this function to wait for counting to be done before retrieving scaler contents. Given that CNT is an ENUM, and ezcaNewMonitorValue treats this as an invalid data type, it always returns true, defeating my logic. I resorted to posting the monitor on the scaler contents instead, which worked fine. It would seem that ezca should be modified to include this data type, or is there a reason this isn't practical?
Pete.

Replies:
Re: ezca and ENUM Andrew Johnson

Navigate by Date:
Prev: Re: VCCT and CA sniffer Rok Sabjan
Next: Re: VME Bus Error handling on MVME3100 and 6100 boards Kate Feng
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: Re: EPICS driver support for Oxford Cryosystems 700 Series Cryostream David Maden
Next: Re: ezca and ENUM Andrew Johnson
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 ·