Use EPICS base dbLoadTemplate().

This commit is contained in:
Ron Sluiter
2004-10-06 20:47:56 +00:00
parent eb029f6fec
commit a58625e02a
6 changed files with 22 additions and 4 deletions
+9
View File
@@ -0,0 +1,9 @@
file basic_motor.db
{
pattern
{P, N, M, DTYP, C, S, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT}
{rls:, 1, m$(N), "MM4000", 0, 0, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
{rls:, 2, m$(N), "MM4000", 0, 1, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
{rls:, 3, m$(N), "MM4000", 0, 2, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
{rls:, 4, m$(N), "MM4000", 0, 3, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
}
+1 -1
View File
@@ -22,7 +22,7 @@ cd startup
dbLoadDatabase("$(TOP)/dbd/WithMPFVx.dbd")
WithMPFVx_registerRecordDeviceDriver(pdbbase)
dbLoadRecords("$(TOP)/db/WithMPF.db")
dbLoadTemplate("motor.substitutions")
# Configure the ASYN server code. This MUST be configured too!
< st_asynserver.cmd.Vx
+1 -1
View File
@@ -5,7 +5,7 @@
dbLoadDatabase("$(TOP)/dbd/WithMPF.dbd")
WithMPF_registerRecordDeviceDriver(pdbbase)
dbLoadRecords("$(TOP)/db/WithMPF.db")
dbLoadTemplate("motor.substitutions")
# The following commands are for a local serial line
+9
View File
@@ -0,0 +1,9 @@
file basic_motor.db
{
pattern
{P, N, M, DTYP, C, S, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT}
{rls:, 1, m$(N), "MM4000", 0, 0, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
{rls:, 2, m$(N), "MM4000", 0, 1, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
{rls:, 3, m$(N), "MM4000", 0, 2, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
{rls:, 4, m$(N), "MM4000", 0, 3, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
}
+1 -1
View File
@@ -22,7 +22,7 @@ cd startup
dbLoadDatabase("$(TOP)/dbd/WithMPFVx.dbd")
WithMPFVx_registerRecordDeviceDriver(pdbbase)
dbLoadRecords("$(TOP)/db/WithMPF.db")
dbLoadTemplate("motor.substitutions")
# Configure the ASYN server code. This MUST be configured too!
< st_asynserver.cmd.Vx
+1 -1
View File
@@ -5,7 +5,7 @@
dbLoadDatabase("$(TOP)/dbd/WithMPF.dbd")
WithMPF_registerRecordDeviceDriver(pdbbase)
dbLoadRecords("$(TOP)/db/WithMPF.db")
dbLoadTemplate("motor.substitutions")
# The following commands are for a local serial line