From 5433eb84b8aebc6c6a62b20507856e21a8717b8a Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Thu, 15 Jun 2006 19:25:54 +0000 Subject: [PATCH] New file for jerk times on XPS --- motorApp/Db/XPS_extra.db | 23 +++++ motorApp/op/adl/XPSExtra.adl | 195 +++++++++++++++++++++++++++++++++++ 2 files changed, 218 insertions(+) create mode 100644 motorApp/Db/XPS_extra.db create mode 100644 motorApp/op/adl/XPSExtra.adl diff --git a/motorApp/Db/XPS_extra.db b/motorApp/Db/XPS_extra.db new file mode 100644 index 00000000..c7b8f151 --- /dev/null +++ b/motorApp/Db/XPS_extra.db @@ -0,0 +1,23 @@ +# Database for Newport XPS + +grecord(ao,"$(P)$(R)MIN_JERK_TIME") { + field(DESC,"Min jerk time") + field(PREC,"3") + field(VAL,".01") + field(DTYP, "asynFloat64") + field(OUT,"@asyn($(PORT))MIN_JERK_TIME") +} +grecord(ao,"$(P)$(R)MAX_JERK_TIME") { + field(DESC,"Max jerk time") + field(PREC,"3") + field(VAL,".03") + field(DTYP, "asynFloat64") + field(OUT,"@asyn($(PORT))MAX_JERK_TIME") +} +grecord(ai,"$(P)$(R)READBACK") { + field(DESC,"Readback") + field(PREC,"4") + field(DTYP, "asynFloat64") + field(SCAN, "I/O Intr") + field(INP,"@asyn($(PORT))POSITION") +} diff --git a/motorApp/op/adl/XPSExtra.adl b/motorApp/op/adl/XPSExtra.adl new file mode 100644 index 00000000..8540fcb9 --- /dev/null +++ b/motorApp/op/adl/XPSExtra.adl @@ -0,0 +1,195 @@ + +file { + name="XPSExtra.adl" + version=030000 +} +display { + object { + x=560 + y=84 + width=350 + height=150 + } + clr=14 + bclr=4 + cmap="" + gridSpacing=5 + gridOn=0 + snapToGrid=0 +} +"color map" { + ncolors=65 + colors { + ffffff, + ececec, + dadada, + c8c8c8, + bbbbbb, + aeaeae, + 9e9e9e, + 919191, + 858585, + 787878, + 696969, + 5a5a5a, + 464646, + 2d2d2d, + 000000, + 00d800, + 1ebb00, + 339900, + 2d7f00, + 216c00, + fd0000, + de1309, + be190b, + a01207, + 820400, + 5893ff, + 597ee1, + 4b6ec7, + 3a5eab, + 27548d, + fbf34a, + f9da3c, + eeb62b, + e19015, + cd6100, + ffb0ff, + d67fe2, + ae4ebc, + 8b1a96, + 610a75, + a4aaff, + 8793e2, + 6a73c1, + 4d52a4, + 343386, + c7bb6d, + b79d5c, + a47e3c, + 7d5627, + 58340f, + 99ffff, + 73dfff, + 4ea5f9, + 2a63e4, + 0a00b8, + ebf1b5, + d4db9d, + bbc187, + a6a462, + 8b8239, + 73ff6b, + 52da3b, + 3cb420, + 289315, + 1a7309, + } +} +text { + object { + x=-87 + y=97 + width=50 + height=20 + } + "basic attribute" { + clr=14 + } + textix="GPIO1" +} +"text update" { + object { + x=159 + y=42 + width=100 + height=20 + } + monitor { + chan="IOC:m1READBACK.VAL" + clr=14 + bclr=51 + } + align="horiz. right" + limits { + } +} +"text entry" { + object { + x=159 + y=72 + width=100 + height=20 + } + control { + chan="IOC:m1MIN_JERK_TIME" + clr=14 + bclr=51 + } + limits { + } +} +text { + object { + x=73 + y=42 + width=80 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Readback" +} +text { + object { + x=13 + y=72 + width=140 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Min. jerk time" +} +"text entry" { + object { + x=159 + y=101 + width=100 + height=20 + } + control { + chan="IOC:m1MAX_JERK_TIME" + clr=14 + bclr=51 + } + limits { + } +} +text { + object { + x=13 + y=101 + width=140 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Max. jerk time" +} +text { + object { + x=11 + y=11 + width=310 + height=20 + } + "basic attribute" { + clr=14 + } + textix="XPS with standard EPICS records" +}