EPICS Controls Argonne National Laboratory

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  <20142015  2016  2017  2018  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: MBBI Value Type
From: Elmer Pensack <[email protected]>
To: [email protected]
Date: Tue, 25 Nov 2014 13:14:07 -0500
In working with the value types of a MBBI, I noticed that the native type of the mbbi values is DBF_DOUBLE even though the documentation states ULONG. When a connection handler completes a connection with those attributes it returns the DOUBLE type.  Also, when a caget with the –D option is executed the following is displayed.

 

>  caget –d DBR_LONG <PV NAME>.ZRVL

 

<PV NAME>.ZRVL

     Native Data Type:     DBF_DOUBLE

     Request Type:         DBR_LONG

     Element Count:        1

     Value:                0

 

However a caput with a double value does get truncated during the put.  Which makes sense as these values should be integers. So why is the native type a double?  Currently I am basing display of data by the EPICS type.  So this data is shows as a decimal value because it comes back as a DOUBLE.


We can code for this configuration but I was just curious as why the native type for MBBI values was set to DOUBLE.

 

Thanks


Replies:
RE: MBBI Value Type Mark Rivers

Navigate by Date:
Prev: RE: streamDevice output format question peter.owens
Next: RE: MBBI Value Type Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: streamDevice output format question Dirk Zimoch
Next: RE: MBBI Value Type Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·