#!../../bin/linux-x86_64/LLRF

## IOC startup script
##
## Copyright (c) 2008 Dimtel, Inc., All Rights Reserved
##
## $Id: st.cmd,v 1.3 2013/11/12 01:04:10 dim Exp $
## $Date: 2013/11/12 01:04:10 $
## $Author: dim $
## $Revision: 1.3 $
## $Log: st.cmd,v $
## Revision 1.3  2013/11/12 01:04:10  dim
## Set up for x86_64 architecture
##
## Revision 1.2  2012/11/11 05:50:33  dim
## Removed from CVS - autogenerated
##
## Revision 1.1.1.1  2009/06/02 20:26:01  dim
## Initial import
##
##
##

< envPaths_custom

cd ${TOP}

## Register all support components
dbLoadDatabase("dbd/LLRF.dbd")
LLRF_registerRecordDeviceDriver(pdbbase)

## Load record instances
dbLoadTemplate("db/regs.template");
dbLoadTemplate("db/calcs.template");
dbLoadTemplate("db/ctrl.template");
dbLoadTemplate("db/ad9512.template");
dbLoadTemplate("db/acq.template");
dbLoadTemplate("db/drive.template");
dbLoadTemplate("db/scalar.template");
dbLoadTemplate("db/iir.template");

# Save/restore setup
epicsEnvSet(DYNAMIC_RESTORE_FILE, "${TOP}/pvs/bumpless.pvs")

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