40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Entry  Thu Apr 16 17:48:00 2009, Yoichi, Configuration, Computer Scripts / Programs, AutoDTT 
    Reply  Fri Apr 17 11:37:32 2009, Yoichi, Configuration, Computer Scripts / Programs, AutoDTT 
Message ID: 1492     Entry time: Thu Apr 16 17:48:00 2009     Reply to this: 1494
Author: Yoichi 
Type: Configuration 
Category: Computer Scripts / Programs 
Subject: AutoDTT 
As Peter mentioned in his entry on the last night's locking, I imported AutoDTT from Hanford.
It resides in /cvs/cds/caltech/scripts/AutoDTT/.
The main script is restoreRunSave, which takes three arguments, templete_file_name, result_file_name and log_file_name.
This script opens a template xml file and execute it. Then saves the result in the result file.
You can open the result file in a normal DTT.
You can call restoreRunSave from watch scripts, such as c1_watch_dr_bang.

watchLockLoss is a standalone watch script to detect a lock loss and call restoreRunSave.
It runs both on Linux and Solaris. However on Linux, diag fails 50% of the time with some glibc error.
So it is probably better to run it on op440m.
ELOG V3.1.3-