Experimental Physics and
| |||||||||||||||
|
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.
Thanks
| ||||||||||||||
ANJ, 17 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |