From e3c9d5900ed27f13b341fee8f04e0c4507b90df1 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 18 Oct 2017 15:39:22 -0500 Subject: [PATCH] Added timestamp support to the lnkCalc link type. --- src/std/link/links.dbd.pod | 8 +++++ src/std/link/lnkCalc.c | 61 ++++++++++++++++++++++++++++---- src/std/rec/test/linkInitTest.db | 3 +- 3 files changed, 65 insertions(+), 7 deletions(-) diff --git a/src/std/link/links.dbd.pod b/src/std/link/links.dbd.pod index ceb6ced77..d94e9e8f0 100644 --- a/src/std/link/links.dbd.pod +++ b/src/std/link/links.dbd.pod @@ -114,6 +114,14 @@ expression. Equivalent to the C field of a record. An optional integer specifying the numeric precision with which the calculation result should be displayed. Equivalent to the C field of a record. +=item time + +An optional string containing a single upper or lower-case letter C ... C +which must correspond to an input provided in the c parameter. When the +record containing such a link has C set to -2 (epicsTimeEventDeviceTime) +the record's timestamp field C