EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: CA and unsigned types
From: "Brian McAllister" <[email protected]>
To: Marty Kraimer <[email protected]>
Cc: [email protected], [email protected]
Date: Wed, 15 Aug 2001 10:07:39 -0400
>>> On 8/15/2001 at 8:49:13 CDT, Marty Kraimer wrote:

  > I am not aware of any plans to change the current mappings which are:

  > epicsShareDef unsigned short dbDBRnewToDBRold[newDBR_ENUM+1] = {
  > 	  0, /*DBR_STRING to DBR_STRING*/
  > 	  4, /*DBR_CHAR to DBR_CHAR*/
  > 	  4, /*DBR_UCHAR to DBR_CHAR*/
  > 	  1, /*DBR_SHORT to DBR_SHORT*/
  > 	  5, /*DBR_USHORT to DBR_LONG*/
  > 	  5, /*DBR_LONG to DBR_LONG*/
  > 	  6, /*DBR_ULONG to DBR_DOUBLE*/
  > 	  2, /*DBR_FLOAT to DBR_FLOAT*/
  > 	  6, /*DBR_DOUBLE to DBR_DOUBLE*/
  > 	  3, /*DBR_ENUM to DBR_ENUM*/
  > };

Why is USHORT promoted to LONG, but UCHAR mapped to CHAR (rather than
SHORT) ?

----
Brian McAllister                    Controls Programmer/Beam Physicist
[email protected]                        MIT-Bates Linear Accelerator
(617) 253-9537                                           Middleton, MA


Replies:
Re: CA and unsigned types Marty Kraimer
References:
Re: CA and unsigned types Marty Kraimer

Navigate by Date:
Prev: Re: CA and unsigned types Marty Kraimer
Next: Re: CA and unsigned types Brian McAllister
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  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: CA and unsigned types Marty Kraimer
Next: Re: CA and unsigned types Marty Kraimer
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·