#!../../bin/linux-x86/Test

## You may have to change Test to something else
## everywhere it appears in this file

< envPaths

# IOCs can load settings which are common
# for all IOCs. Such as EPICS_CA_ADDR_LIST, etc...
# The file: pre_st.cmd does the trick
# </afs/slac/g/lcls/build/epics/iocCommon/All/pre_st.cmd


cd ${TOP}

## Register all support components
dbLoadDatabase("dbd/Test.dbd")
Test_registerRecordDeviceDriver(pdbbase)

## Load record instances

#dbLoadTemplate("db/watcherTestPVs.template")
#dbLoadTemplate("db/watcher.template")
#dbLoadRecords("db/testdb.db")
#dbLoadTemplate("db/alhAPV_micro.template")
#dbLoadTemplate("db/alhVMS_sevr_asts.template")
dbLoadRecords("db/testdb.db")


cd ${TOP}/iocBoot/${IOC}
iocInit()

#seq &countAlarms,"area=LI24,subsys=MGNT"


