EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Data types in monitor function
From: Jeong Han Lee <[email protected]>
To: [email protected]
Date: Mon, 24 Apr 2017 16:09:34 +0200
Hi,

  Please allow me to correct the following thing :

recGblResetAlarms return unsigned short (epicsUint16) instead of unsigned int (epicsUint32)

  Thanks,
  Han

On 04/24/2017 02:27 PM, Jeong Han Lee wrote:
Hi,

I am wondering the mixed data types in monitor function in most_of_Record.c. For example, static void monitor(aiRecord *prec).

recGblResetAlarms function returns epicsUint16 (unsigned int) and the returned value is used in different way according to its record, and pass it as argument of db_post_events function with mixed data type.

All of them mixed data types are larger than its epicsUnit16, so no problems I saw.

Is it just due to "history of Data types evolution" in many difference records? If so, do we have any intention to keep the same data type in entire (at least monitor function) EPICS layer? If any help is needed, I can work on them.


   Thanks,
   Han

References:
Data types in monitor function Jeong Han Lee

Navigate by Date:
Prev: CSS Service Panel [email protected]
Next: Re: EPICS Archiver Appliance does not transfer PVs to "Being archived" Konrad, Martin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Data types in monitor function Jeong Han Lee
Next: Re: Data types in monitor function Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024