#!/bin/sh 
#==============================================================     
#
#  Abs:  Generate pvlist from the XLEAP Wiggler databases
#
#  Name: report
#
#  Rem:  It'important to run this script prior to
#        loading it into the ioc, as dbReadTest
#        and dbreport can find errors not reported
#        during the build.
#
#  Side: This report has to be executed from a
#        Spear server, such a beldar, as Spear 
#        has fixed the dbReadTest function in 
#        epics base. 
#
#  Auth: 04-Apr-2017, K. Luchini       (LUCHINI)
#--------------------------------------------------------------
#  Mod:
#       dd-mmm-yyyy, First Lastname   (USERNAME):
#         comment
#
#==============================================================
#
DBLIST=/afs/slac/www/grp/lcls/controls/global/sw/epics/slaconly/dblist/XLeapMotion
cd ../..
rm -f db/id-pvList $DBLIST/id-pvList

dbReadTest dbd/idSupport.dbd      db/sioc-ltu1-id01.db
dbreport -f db/sioc-ltu1-id01.db  OUT.INP.35 DESC.29 | sort > $DBLIST/sioc-ltu1-id01-pvList

# End of script


