#!/bin/bash
# 2010 10 15 
# Use this script to start PDU trigger configuration tool to set up triggers
# in Building 34 (testing in development)
#
# PDU_JAVA_APP_DIR is used by edm execute script widget as
# an input file to the java app "globalRuleChooser"
#
# PDU_JAVA_APP_DIR is also used by java to add the path to two classes:
# "globalRuleChooser" and "JayTable"
export PDU_JAVA_APP_DIR=/afs/slac/g/lcls/epics/iocTop/users/dayle/epics/ioc/pdu/pduApp/srcJava
export CLASSPATH=$PDU_JAVA_APP_DIR:$CLASSPATH

# Use PDUPatternChooser from here
export PATH=$PHYSICS_TOP/PDUPatternChooser:$PATH

# Use EDM Version 1-12-39
export PATH=/afs/slac/g/lcls/epics/iocTop/users/dayle/epics/extensions/bin/linux-x86:$PATH
edm -m "PDU_JAVA_APP_DIR=$PDU_JAVA_APP_DIR,GLOBAL_TOP=PDU2,REMOTE_TOP=TRIG" -x /afs/slac/g/lcls/epics/iocTop/users/dayle/epics/ioc/pdu/pduApp/srcDisplay/pdu_b34_main.edl
