Skip to content
Snippets Groups Projects
start_MEDM_xxx 743 B
Newer Older
export EPICS_APP=`dirname ${BASH_SOURCE:-$0}`
klang's avatar
klang committed
export EPICS_APP_ADL_DIR=${EPICS_APP}/xxxApp/op/adl
klang's avatar
klang committed
export DEFAULT_UI_FILE=${DEFAULT_UI_FILE:-xxx.adl}
source ${EPICS_APP}/setup_epics_common medm
    export MEDM_EXEC_LIST='Probe;probe &P &'
fi

#export EPICS_CA_ADDR_LIST="164.54.53.126"

# This should agree with the environment variable set by the ioc
# see 'putenv "EPICS_CA_MAX_ARRAY_BYTES=64008"' in iocBoot/ioc<target>/st.cmd
export EPICS_CA_MAX_ARRAY_BYTES=64008

mooney's avatar
mooney committed
export START_PUTRECORDER=${EPICS_APP}/start_putrecorder
export MACROS_PY=${EPICS_APP_ADL_DIR}/../python/macros.py
export EDITOR=nedit
mooney's avatar
mooney committed

Pete Jemian's avatar
Pete Jemian committed
medm -x ${1:-${DEFAULT_UI_FILE}} &
# TODO: what about ALL command line parameters?  "$*"