28 lines
705 B
Plaintext
28 lines
705 B
Plaintext
# Example vxWorks startup file
|
|
|
|
# Following will be needed for many board support packages
|
|
#cd "_TOP_/iocBoot/_IOC_"
|
|
|
|
< cdCommands
|
|
|
|
#< ../nfsCommands
|
|
|
|
cd topbin
|
|
ld < _APPNAME_.munch
|
|
|
|
#The following uses drvTS for vxWorks. May be needed for hardware event systems
|
|
#TSinit
|
|
|
|
cd top
|
|
dbLoadDatabase("dbd/_APPNAME_.dbd",0,0)
|
|
registerRecordDeviceDriver(pdbbase)
|
|
dbLoadRecords("db/dbExample1.db","user=_USER_")
|
|
dbLoadRecords("db/dbExample2.db","user=_USER_,no=1,scan=1 second")
|
|
dbLoadRecords("db/dbExample2.db","user=_USER_,no=2,scan=2 second")
|
|
dbLoadRecords("db/dbExample2.db","user=_USER_,no=3,scan=5 second")
|
|
dbLoadRecords("db/dbSubExample.db","user=_USER_")
|
|
|
|
cd startup
|
|
iocInit
|
|
#seq &sncExample,"user=_USER_"
|