change is that the application *must* be executed from the directory in which the st.cmd file resides.
23 lines
538 B
Plaintext
23 lines
538 B
Plaintext
#!../../bin/_ARCH_/_APPNAME_
|
|
|
|
## You may have to change _APPNAME_ to something else
|
|
## everywhere it appears in this file
|
|
|
|
< envPaths
|
|
|
|
## Register all support components
|
|
dbLoadDatabase("../../dbd/_APPNAME_.dbd")
|
|
_APPNAME__registerRecordDeviceDriver(pdbbase)
|
|
|
|
## Load record instances
|
|
dbLoadRecords("../../db/xxMedmDemo.db","user=_USER_")
|
|
dbLoadRecords("../../db/xxVirtualLinac.db","user=_USER_")
|
|
|
|
iocInit()
|
|
|
|
## Start any sequence programs
|
|
seq &beamTrajectory, "user=_USER_"
|
|
seq &autoControl, "user=_USER_"
|
|
seq &stabilizer, "user=_USER_"
|
|
|