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

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

< envPaths

cd ${TOP}

## Register all support components
dbLoadDatabase("dbd/fblinux.dbd")
fblinux_registerRecordDeviceDriver(pdbbase)

## Load record instances
#dbLoadRecords("db/dbExample1.db","user=tobiyamaHost")
#dbLoadRecords("db/dbExample2.db","user=tobiyamaHost,no=1,scan=1 second")
#dbLoadRecords("db/dbExample2.db","user=tobiyamaHost,no=2,scan=2 second")
#dbLoadRecords("db/dbExample2.db","user=tobiyamaHost,no=3,scan=5 second")
#dbLoadRecords("db/dbSubExample.db","user=tobiyamaHost")
dbLoadRecords("db/FB_TB4PHASE.db","PORT=L0, A=1")

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

drvAsynIPPortConfigure("L0","172.19.XXX:XXX",0,0,0)
#drvAsynIPPortConfigure("L0","172.19.57.XXX:30704",0,0,0)

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

## Start any sequence programs
#seq sncExample,"user=tobiyamaHost"