From bd9bc7c39616a185749102dd173026d00377838e Mon Sep 17 00:00:00 2001
From: timmmooney <mooney@aps.anl.gov>
Date: Sun, 28 Dec 2014 22:36:51 +0000
Subject: [PATCH] caputrecorder

---
 iocBoot/iocLinux/st.cmd | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/iocBoot/iocLinux/st.cmd b/iocBoot/iocLinux/st.cmd
index 7da89a9..5aae65e 100644
--- a/iocBoot/iocLinux/st.cmd
+++ b/iocBoot/iocLinux/st.cmd
@@ -27,11 +27,24 @@ iocxxxLinux_registerRecordDeviceDriver(pdbbase)
 < save_restore.cmd
 
 # Access Security
-#dbLoadRecords("$(TOP)/xxxApp/Db/Security_Control.db","P=xxx:")
-#asSetFilename("$(TOP)/iocBoot/accessSecurity.acf")
-#asSetSubstitutions("P=xxx:")
+dbLoadRecords("$(TOP)/xxxApp/Db/Security_Control.db","P=xxx:")
+asSetFilename("$(TOP)/iocBoot/accessSecurity.acf")
+asSetSubstitutions("P=xxx:")
 # Can modify file and reinit with "asInit"
 
+# caputRecorder
+dbLoadRecords("$(CAPUTRECORDER)/caputRecorderApp/Db/caputRecorder.db","P=xxx:,N=300")
+doAfterIocInit("registerCaputRecorderTrapListener('xxx:caputRecorderCommand')")
+
+# caPutLog
+#epicsEnvSet EPICS_AS_PUT_LOG_PV xxx:caputRecorderCommand
+#define caPutLogNone        -1  /* no logging (disable) */
+#define caPutLogOnChange    0   /* log only on value change */
+#define caPutLogAll         1   /* log all puts */
+#define caPutLogAllNoFilter 2   /* log all puts no filtering on same PV*/
+#doAfterIocInit("caPutLogInit('mooneylinux',1)")
+
+
 < areaDetector.cmd
 
 # soft scaler for testing
@@ -198,3 +211,4 @@ dbcar(*,1)
 
 # print the time our boot was finished
 date
+
-- 
GitLab