#!../../bin/linux-f3rp61/rp

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

< envPaths

cd ${TOP}

## Register all support components
dbLoadDatabase "dbd/rp.dbd"
rp_registerRecordDeviceDriver pdbbase

## Load record instances
dbLoadRecords "db/demo.db"

## Set this to see messages from mySub
#var mySubDebug 1

## Run this to trace the stages of iocInit
#traceIocInit

set_requestfile_path("/opt/epics/apptop","rpApp/Db")
set_savefile_path("/opt/epics/apptop","iocBoot/iocrp")
#set_pass0_restoreFile("test.sav")
set_pass1_restoreFile("test.sav")

cd ${TOP}/iocBoot/${IOC}

iocInit

create_monitor_set("test.req",1,"P=f3rp61:")

## Start any sequence programs
#seq sncDemo