Switching to OS specific st.cmd files.

This commit is contained in:
Ron Sluiter
2003-06-05 17:37:55 +00:00
parent e071628501
commit 5c1d9808a8
4 changed files with 104 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
# This example if for OMS VME8/44 controllers. Since OMS controllers
# communicate across the VME backplace, this example does not require
# MPF.
#The following must be added for many board support packages
#cd "... IOC st.cmd complete directory path ... "
< cdCommands
#< ../nfsCommands
cd topbin
# If the VxWorks kernel was built using the project facility, the following must
# be added before any C++ code is loaded (see SPR #28980).
sysCplusEnable=1
ld < NoMPFVx.munch
cd startup
dbLoadDatabase("../../dbd/NoMPFVx.dbd")
registerRecordDeviceDriver(pdbbase)
dbLoadRecords("../../db/NoMPF.db")
#dbLoadRecords("../../motorExApp/Db/SoftMotorEx.db","user=rls,motor=m1", startup)
# OMS VME driver setup parameters:
# (1)cards, (2)axes per card, (3)base address(short, 16-byte boundary),
# (4)interrupt vector (0=disable or 64 - 255), (5)interrupt level (1 - 6),
# (6)motor task polling rate (min=1Hz,max=60Hz)
#omsSetup(1, 8, 0xFC00, 180, 5, 10)
# OMS VME58 driver setup parameters:
# (1)cards, (2)axes per card, (3)base address(short, 4k boundary),
# (4)interrupt vector (0=disable or 64 - 255), (5)interrupt level (1 - 6),
# (6)motor task polling rate (min=1Hz,max=60Hz)
oms58Setup(1, 8, 0x1000, 190, 5, 10)
iocInit
+14
View File
@@ -0,0 +1,14 @@
# This example if for running a motor record that uses Soft Channel device
# support on a Unix host. This example does not require MPF.
# Start errlog Task before any possible error messsage to prevent
# erroneous "Interrupted system call" message on Linux OS host.
errlogInit(0)
dbLoadDatabase("../../dbd/NoMPF.dbd")
registerRecordDeviceDriver(pdbbase)
#dbLoadRecords("../../db/NoMPF.db")
dbLoadRecords("../../motorExApp/Db/softMotorTest.db","user=rls")
iocInit
+38
View File
@@ -0,0 +1,38 @@
# This example if for OMS VME8/44 controllers. Since OMS controllers
# communicate across the VME backplace, this example does not require
# MPF.
#The following must be added for many board support packages
#cd "... IOC st.cmd complete directory path ... "
< cdCommands
#< ../nfsCommands
cd topbin
# If the VxWorks kernel was built using the project facility, the following must
# be added before any C++ code is loaded (see SPR #28980).
sysCplusEnable=1
ld < NoMPFVx.munch
cd startup
dbLoadDatabase("../../dbd/NoMPFVx.dbd")
registerRecordDeviceDriver(pdbbase)
dbLoadRecords("../../db/NoMPF.db")
#dbLoadRecords("../../motorExApp/Db/SoftMotorEx.db","user=rls,motor=m1", startup)
# OMS VME driver setup parameters:
# (1)cards, (2)axes per card, (3)base address(short, 16-byte boundary),
# (4)interrupt vector (0=disable or 64 - 255), (5)interrupt level (1 - 6),
# (6)motor task polling rate (min=1Hz,max=60Hz)
#omsSetup(1, 8, 0xFC00, 180, 5, 10)
# OMS VME58 driver setup parameters:
# (1)cards, (2)axes per card, (3)base address(short, 4k boundary),
# (4)interrupt vector (0=disable or 64 - 255), (5)interrupt level (1 - 6),
# (6)motor task polling rate (min=1Hz,max=60Hz)
oms58Setup(1, 8, 0x1000, 190, 5, 10)
iocInit
+14
View File
@@ -0,0 +1,14 @@
# This example if for running a motor record that uses Soft Channel device
# support on a Unix host. This example does not require MPF.
# Start errlog Task before any possible error messsage to prevent
# erroneous "Interrupted system call" message on Linux OS host.
errlogInit(0)
dbLoadDatabase("../../dbd/NoMPF.dbd")
registerRecordDeviceDriver(pdbbase)
#dbLoadRecords("../../db/NoMPF.db")
dbLoadRecords("../../motorExApp/Db/softMotorTest.db","user=rls")
iocInit