Experimental Physics and
| |||||||||||||||
|
In the 3.12 versions of epics the old DCT used base to decide how to convert from an integer to a string. In 3.12 DCT did not keep numberic fields as strings and base was very important. Starting with 3.13 it lost most of its meaning since dbStaticNoRun keeps numeric fields as strings. We should have removed this attribute from the recordtype definitions. Perhaps Andrew will remove it for 3.15? Note that numeric fields in record dbd files are converted during ioc initialization by strtol or strtoul with a third argument of 0. This means that the string is interpeted as a decimal, octal (leading 0), or hex (leading 0x) value. Marty Kraimer J. Frederick Bartlett wrote: The field definition for an EPICS database record allows for the specification of a base radix with the syntax:
| ||||||||||||||
ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |