From c18f7b1ee95d587a75b5aaac6d37ea145b0c73e2 Mon Sep 17 00:00:00 2001 From: Kevin Peterson Date: Fri, 19 May 2023 08:35:09 -0500 Subject: [PATCH] Removed prop(YES) from fields in motorRecord.dbd that didn't need it; added comments to the ones that do. --- motorApp/MotorSrc/motorRecord.dbd | 64 +++++++------------------------ 1 file changed, 13 insertions(+), 51 deletions(-) diff --git a/motorApp/MotorSrc/motorRecord.dbd b/motorApp/MotorSrc/motorRecord.dbd index 0a2ea8c9f..b7ee5df32 100644 --- a/motorApp/MotorSrc/motorRecord.dbd +++ b/motorApp/MotorSrc/motorRecord.dbd @@ -90,7 +90,6 @@ recordtype(motor) { prompt("User Offset (EGU)") special(SPC_MOD) pp(TRUE) - prop(YES) } field(FOFF,DBF_MENU) { asl(ASL0) @@ -143,42 +142,38 @@ recordtype(motor) { promptgroup(GUI_COMMON) special(SPC_MOD) interest(1) - prop(YES) } field(VBAS,DBF_DOUBLE) { prompt("Base Velocity (EGU/s)") promptgroup(GUI_COMMON) special(SPC_MOD) interest(1) - prop(YES) + prop(YES) # get_graphic_double, get_control_double } field(VMAX,DBF_DOUBLE) { prompt("Max. Velocity (EGU/s)") promptgroup(GUI_COMMON) special(SPC_MOD) interest(1) - prop(YES) + prop(YES) # get_graphic_double, get_control_double } field(S,DBF_DOUBLE) { prompt("Speed (revolutions/sec)") promptgroup(GUI_COMMON) special(SPC_MOD) interest(1) - prop(YES) } field(SBAS,DBF_DOUBLE) { prompt("Base Speed (RPS)") promptgroup(GUI_COMMON) special(SPC_MOD) interest(1) - prop(YES) } field(SMAX,DBF_DOUBLE) { prompt("Max. Speed (RPS)") promptgroup(GUI_COMMON) special(SPC_MOD) interest(1) - prop(YES) } field(ACCL,DBF_DOUBLE) { prompt("Seconds to Velocity") @@ -186,7 +181,6 @@ recordtype(motor) { special(SPC_MOD) interest(1) initial("0.2") - prop(YES) } field(BDST,DBF_DOUBLE) { prompt("BL Distance (EGU)") @@ -194,21 +188,18 @@ recordtype(motor) { promptgroup(GUI_COMMON) special(SPC_MOD) interest(1) - prop(YES) } field(BVEL,DBF_DOUBLE) { prompt("BL Velocity (EGU/s)") promptgroup(GUI_COMMON) special(SPC_MOD) interest(1) - prop(YES) } field(SBAK,DBF_DOUBLE) { prompt("BL Speed (RPS)") promptgroup(GUI_COMMON) special(SPC_MOD) interest(1) - prop(YES) } field(BACC,DBF_DOUBLE) { prompt("BL Seconds to Velocity") @@ -216,7 +207,6 @@ recordtype(motor) { special(SPC_MOD) interest(1) initial("0.5") - prop(YES) } field(FRAC,DBF_FLOAT) { prompt("Move Fraction") @@ -224,7 +214,6 @@ recordtype(motor) { special(SPC_MOD) interest(1) initial("1") - prop(YES) } field(OUT,DBF_OUTLINK) { prompt("Output Specification") @@ -275,7 +264,6 @@ recordtype(motor) { special(SPC_MOD) pp(TRUE) interest(1) - prop(YES) } field(MRES,DBF_DOUBLE) { prompt("Motor Step Size (EGU)") @@ -283,7 +271,7 @@ recordtype(motor) { special(SPC_MOD) pp(TRUE) interest(1) - prop(YES) + prop(YES) # get_graphic_double, get_control_double } field(ERES,DBF_DOUBLE) { prompt("Encoder Step Size (EGU)") @@ -291,13 +279,11 @@ recordtype(motor) { special(SPC_MOD) pp(TRUE) interest(1) - prop(YES) } field(RRES,DBF_DOUBLE) { prompt("Readback Step Size (EGU") promptgroup(GUI_COMMON) interest(1) - prop(YES) } field(UEIP,DBF_MENU) { prompt("Use Encoder If Present") @@ -319,13 +305,14 @@ recordtype(motor) { prompt("Display Precision") promptgroup(GUI_COMMON) interest(1) - prop(YES) + prop(YES) # get_precision } field(EGU,DBF_STRING) { prompt("Engineering Units") promptgroup(GUI_COMMON) interest(1) size(16) + prop(YES) # get_units } field(RHLM,DBF_DOUBLE) { prompt("Raw High Limit") @@ -343,39 +330,37 @@ recordtype(motor) { prompt("User High Limit") special(SPC_MOD) pp(TRUE) - prop(YES) + prop(YES) # get_graphic_double, get_control_double } field(LLM,DBF_DOUBLE) { prompt("User Low Limit") special(SPC_MOD) pp(TRUE) - prop(YES) + prop(YES) # get_graphic_double, get_control_double } field(DHLM,DBF_DOUBLE) { prompt("Dial High Limit") promptgroup(GUI_COMMON) special(SPC_MOD) pp(TRUE) - prop(YES) + prop(YES) # get_graphic_double, get_control_double } field(DLLM,DBF_DOUBLE) { prompt("Dial Low Limit") promptgroup(GUI_COMMON) special(SPC_MOD) pp(TRUE) - prop(YES) + prop(YES) # get_graphic_double, get_control_double } field(HOPR,DBF_DOUBLE) { prompt("High Operating Range") promptgroup(GUI_COMMON) interest(1) - prop(YES) } field(LOPR,DBF_DOUBLE) { prompt("Low Operating Range") promptgroup(GUI_COMMON) interest(1) - prop(YES) } field(HLS,DBF_SHORT) { prompt("User High Limit Switch") @@ -398,28 +383,28 @@ recordtype(motor) { promptgroup(GUI_COMMON) pp(TRUE) interest(2) - prop(YES) + prop(YES) # get_alarm_double } field(LOLO,DBF_DOUBLE) { prompt("Lolo Alarm Limit (EGU)") promptgroup(GUI_COMMON) pp(TRUE) interest(2) - prop(YES) + prop(YES) # get_alarm_double } field(HIGH,DBF_DOUBLE) { prompt("High Alarm Limit (EGU)") promptgroup(GUI_COMMON) pp(TRUE) interest(2) - prop(YES) + prop(YES) # get_alarm_double } field(LOW,DBF_DOUBLE) { prompt("Low Alarm Limit (EGU)") promptgroup(GUI_COMMON) pp(TRUE) interest(2) - prop(YES) + prop(YES) # get_alarm_double } field(HHSV,DBF_MENU) { prompt("Hihi Severity") @@ -461,14 +446,12 @@ recordtype(motor) { promptgroup(GUI_COMMON) special(SPC_MOD) interest(1) - prop(YES) } field(SPDB,DBF_DOUBLE) { prompt("Setpoint Deadband (EGU)") promptgroup(GUI_COMMON) special(SPC_MOD) interest(1) - prop(YES) } field(RCNT,DBF_SHORT) { prompt("Retry count") @@ -552,33 +535,28 @@ recordtype(motor) { prompt("Tweak Step Size (EGU)") promptgroup(GUI_COMMON) interest(1) - prop(YES) } field(VAL,DBF_DOUBLE) { asl(ASL0) prompt("User Desired Value (EGU") special(SPC_MOD) pp(TRUE) - prop(YES) } field(LVAL,DBF_DOUBLE) { prompt("Last User Des Val (EGU)") special(SPC_NOMOD) interest(1) - prop(YES) } field(DVAL,DBF_DOUBLE) { asl(ASL0) prompt("Dial Desired Value (EGU") special(SPC_MOD) pp(TRUE) - prop(YES) } field(LDVL,DBF_DOUBLE) { prompt("Last Dial Des Val (EGU)") special(SPC_NOMOD) interest(1) - prop(YES) } field(RVAL,DBF_LONG) { asl(ASL0) @@ -596,28 +574,23 @@ recordtype(motor) { prompt("Relative Value (EGU)") special(SPC_MOD) pp(TRUE) - prop(YES) } field(LRLV,DBF_DOUBLE) { prompt("Last Rel Value (EGU)") special(SPC_NOMOD) interest(1) - prop(YES) } field(RBV,DBF_DOUBLE) { prompt("User Readback Value") special(SPC_NOMOD) - prop(YES) } field(DRBV,DBF_DOUBLE) { prompt("Dial Readback Value") special(SPC_NOMOD) - prop(YES) } field(DIFF,DBF_DOUBLE) { prompt("Difference dval-drbv") special(SPC_NOMOD) - prop(YES) } field(RDIF,DBF_LONG) { prompt("Difference rval-rrbv") @@ -699,7 +672,6 @@ recordtype(motor) { promptgroup(GUI_COMMON) special(SPC_MOD) interest(1) - prop(YES) } field(CBAK,DBF_NOACCESS) { prompt("Callback structure") @@ -714,7 +686,6 @@ recordtype(motor) { special(SPC_MOD) interest(1) initial("0") - prop(YES) } field(ICOF,DBF_DOUBLE) { promptgroup(GUI_COMMON) @@ -722,7 +693,6 @@ recordtype(motor) { special(SPC_MOD) interest(1) initial("0") - prop(YES) } field(DCOF,DBF_DOUBLE) { promptgroup(GUI_COMMON) @@ -730,7 +700,6 @@ recordtype(motor) { special(SPC_MOD) interest(1) initial("0") - prop(YES) } field(CNEN,DBF_MENU) { asl(ASL0) @@ -781,14 +750,12 @@ recordtype(motor) { promptgroup(GUI_COMMON) special(SPC_MOD) interest(1) - prop(YES) } field(JAR,DBF_DOUBLE) { prompt("Jog Accel. (EGU/s^2)") promptgroup(GUI_COMMON) special(SPC_MOD) interest(1) - prop(YES) } field(LOCK,DBF_MENU) { prompt("Soft Channel Position Lock") @@ -816,7 +783,6 @@ recordtype(motor) { promptgroup(GUI_COMMON) special(SPC_MOD) interest(1) - prop(YES) } field(STUP,DBF_MENU) { asl(ASL0) @@ -839,25 +805,21 @@ recordtype(motor) { prompt("Archive Deadband") promptgroup(GUI_COMMON) interest(1) - prop(YES) } field(MDEL,DBF_DOUBLE) { prompt("Monitor Deadband") promptgroup(GUI_COMMON) interest(1) - prop(YES) } field(ALST,DBF_DOUBLE) { prompt("Last Value Archived") special(SPC_NOMOD) interest(3) - prop(YES) } field(MLST,DBF_DOUBLE) { prompt("Last Val Monitored") special(SPC_NOMOD) interest(3) - prop(YES) } field(SYNC,DBF_SHORT) { prompt("Sync position")