More comments on setting names, added the #! line and chmod +x comment

This commit is contained in:
Andrew Johnson
2003-02-06 16:23:51 +00:00
parent 2296613061
commit ad68425f39
2 changed files with 15 additions and 5 deletions

View File

@@ -1,7 +1,9 @@
To start the ioc from this directory execute the command
../../bin/_ARCH_/<appname> st.cmd
You may need to change the name of the .dbd file given in
st.cmd's dbLoadDatabase command before starting the ioc.
Alternatively make the st.cmd file directly executable with
chmod +x st.cmd
and check the executable name on the first line of the st.cmd file
You may need to change the name of the .dbd file given in the
st.cmd's dbLoadDatabase() command before starting the ioc.

View File

@@ -1,9 +1,17 @@
dbLoadDatabase("../../dbd/example.dbd",0,0)
registerRecordDeviceDriver(pdbbase)
#!../../bin/_ARCH_/_IOC_
## The names of the binary above and .dbd file below will be incorrect
## unless you used the same names for the ioc and the app directory.
dbLoadDatabase("../../dbd/_IOC_.dbd",0,0)
registerRecordDeviceDriver(pdbbase)
dbLoadRecords("../../db/dbExample1.db","user=_USER_Host")
dbLoadRecords("../../db/dbExample2.db","user=_USER_Host,no=1,scan=1 second")
dbLoadRecords("../../db/dbExample2.db","user=_USER_Host,no=2,scan=2 second")
dbLoadRecords("../../db/dbExample2.db","user=_USER_Host,no=3,scan=5 second")
dbLoadRecords("../../db/dbSubExample.db","user=_USER_Host")
iocInit()
## Start sequence programs here, if there are any
#seq sncExample,"user=_USER_Host"