From 25ca77e8ab5f6b223c6e7aaf5de5d7be41509ec2 Mon Sep 17 00:00:00 2001
From: timmmooney <mooney@aps.anl.gov>
Date: Tue, 11 Mar 2008 15:32:21 +0000
Subject: [PATCH] Added DEAD_SECONDS macro for save_restoreStatus.db Added call
 to save_restoreSet_UseStatusPVs()

---
 iocBoot/iocvxWorks/save_restore.cmd | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/iocBoot/iocvxWorks/save_restore.cmd b/iocBoot/iocvxWorks/save_restore.cmd
index 62ead00..13b8011 100644
--- a/iocBoot/iocvxWorks/save_restore.cmd
+++ b/iocBoot/iocvxWorks/save_restore.cmd
@@ -3,24 +3,27 @@
 
 ### save_restore setup
 #
-# The rest this file does not require modification for standard use, but...
+# This file does not require modification for standard use, but...
+
 # If you want save_restore to manage its own NFS mount, specify the name and
 # IP address of the file server to which save files should be written.
 # This currently is supported only on vxWorks.
 save_restoreSet_NFSHost("oxygen", "164.54.52.4")
 
-# status-PV prefix
+# status PVs
+#save_restoreSet_UseStatusPVs(1)
 save_restoreSet_status_prefix("xxx:")
-# Debug-output level
-save_restoreSet_Debug(0)
+dbLoadRecords("$(AUTOSAVE)/asApp/Db/save_restoreStatus.db", "P=xxx:, DEAD_SECONDS=5")
 
 # Ok to save/restore save sets with missing values (no CA connection to PV)?
 save_restoreSet_IncompleteSetsOk(1)
+
 # Save dated backup files?
 save_restoreSet_DatedBackupFiles(1)
 
 # Number of sequenced backup files to write
 save_restoreSet_NumSeqFiles(3)
+
 # Time interval between sequenced backups
 save_restoreSet_SeqPeriodInSeconds(300)
 
@@ -63,6 +66,7 @@ set_requestfile_path(std, "stdApp/Db")
 set_requestfile_path(vme, "vmeApp/Db")
 set_requestfile_path(top, "xxxApp/Db")
 
-dbLoadRecords("$(AUTOSAVE)/asApp/Db/save_restoreStatus.db", "P=xxx:")
+# Debug-output level
+save_restoreSet_Debug(0)
 
 # END save_restore.cmd --------------------------------------------------------
-- 
GitLab