Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed prop(YES) from fields in motorRecord.dbd that didn't need it #204

Merged
merged 1 commit into from
May 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 13 additions & 51 deletions motorApp/MotorSrc/motorRecord.dbd
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ recordtype(motor) {
prompt("User Offset (EGU)")
special(SPC_MOD)
pp(TRUE)
prop(YES)
}
field(FOFF,DBF_MENU) {
asl(ASL0)
Expand Down Expand Up @@ -143,88 +142,78 @@ 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")
promptgroup(GUI_COMMON)
special(SPC_MOD)
interest(1)
initial("0.2")
prop(YES)
}
field(BDST,DBF_DOUBLE) {
prompt("BL Distance (EGU)")
asl(ASL0)
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")
promptgroup(GUI_COMMON)
special(SPC_MOD)
interest(1)
initial("0.5")
prop(YES)
}
field(FRAC,DBF_FLOAT) {
prompt("Move Fraction")
promptgroup(GUI_COMMON)
special(SPC_MOD)
interest(1)
initial("1")
prop(YES)
}
field(OUT,DBF_OUTLINK) {
prompt("Output Specification")
Expand Down Expand Up @@ -275,29 +264,26 @@ recordtype(motor) {
special(SPC_MOD)
pp(TRUE)
interest(1)
prop(YES)
}
field(MRES,DBF_DOUBLE) {
prompt("Motor Step Size (EGU)")
promptgroup(GUI_COMMON)
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)")
promptgroup(GUI_COMMON)
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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand Down Expand Up @@ -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")
Expand Down Expand Up @@ -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)
Expand All @@ -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")
Expand Down Expand Up @@ -699,7 +672,6 @@ recordtype(motor) {
promptgroup(GUI_COMMON)
special(SPC_MOD)
interest(1)
prop(YES)
}
field(CBAK,DBF_NOACCESS) {
prompt("Callback structure")
Expand All @@ -714,23 +686,20 @@ recordtype(motor) {
special(SPC_MOD)
interest(1)
initial("0")
prop(YES)
}
field(ICOF,DBF_DOUBLE) {
promptgroup(GUI_COMMON)
prompt("Integral Gain")
special(SPC_MOD)
interest(1)
initial("0")
prop(YES)
}
field(DCOF,DBF_DOUBLE) {
promptgroup(GUI_COMMON)
prompt("Derivative Gain")
special(SPC_MOD)
interest(1)
initial("0")
prop(YES)
}
field(CNEN,DBF_MENU) {
asl(ASL0)
Expand Down Expand Up @@ -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")
Expand Down Expand Up @@ -816,7 +783,6 @@ recordtype(motor) {
promptgroup(GUI_COMMON)
special(SPC_MOD)
interest(1)
prop(YES)
}
field(STUP,DBF_MENU) {
asl(ASL0)
Expand All @@ -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")
Expand Down