From d33c402b00759b655580f1d4a0a761d594bd635d Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 23 Mar 2016 17:15:57 -0500 Subject: [PATCH] Release Notes --- documentation/RELEASE_NOTES.html | 40 ++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/documentation/RELEASE_NOTES.html b/documentation/RELEASE_NOTES.html index 372f32d7d..e919d402c 100644 --- a/documentation/RELEASE_NOTES.html +++ b/documentation/RELEASE_NOTES.html @@ -21,6 +21,46 @@ --> +

IOC Database Support for 64-bit integers

+ +

The IOC now supports the 64-bit integer field types DBF_INT64 and +DBF_UINT64, and there are new record types int64in and +int64out derived from the longin and longout types +respectively that use the DBF_INT64 data type for their VAL and related +fields. The usual range of Soft Channel device support are included for these +new record types.

+ +

All internal IOC APIs such as dbAccess can handle the new field types and +their associated request values DBR_INT64 and DBR_UINT64, +which are implemented using the epicsInt64 and epicsUInt64 +typedef's from the epicsTypes.h header.

+ +

The waveform record type has been updated to support these new field types. +All waveform device support layers must be updated to recognize the new +type enumeration values, which had to be inserted before the +FLOAT value in the enum dbfType and in menuFtype. C +or C++ code can detect at compile-time whether this version of base provides +64-bit support by checking for the presence of the DBR_INT64 macro as +follows (Note that DBF_INT64 is an enum tag and not a +preprocessor macro):

+ +
+#ifdef DBR_INT64
+    /* Code where Base has INT64 support */
+#else
+    /* Code for older versions */
+#endif
+
+ +

Channel Access does not (and probably never will) directly support 64-bit +integer types, so the new field types are presented to the CA server as +DBF_DOUBLE values. This means that field values larger than 2^52 +(0x10_0000_0000_0000 = 4503599627370496) cannot be transported over Channel +Access without their least significant bits being truncated. The EPICS V4 +pvAccess network protocol can transport 64-bit data types however, and +a future release of the pvaSrv module will connect this ability to the IOC.

+ +

Echoless comments in iocsh

The way comments are parsed by the iocsh interpreter has changed. The