diff --git a/epicsIOC/db/positionGauge.db b/epicsIOC/db/positionGauge.db index 916a6d8e7464b40acc7ac1b64694f24eae50f9a6..0605e57f47ad213bfea58425b2b78c290d02132e 100644 --- a/epicsIOC/db/positionGauge.db +++ b/epicsIOC/db/positionGauge.db @@ -7,7 +7,12 @@ record (ai, "$(SYSDEV):POS") field(DESC, "Gauge position") field(DTYP, "stream") field( INP, "@positionGauge.proto read_pos $(PORT)") + field(PREC, ".001") #display precision field( EGU, "mm") +#TODO: This one is the value, and :UNIT is the unit. +# If unit is XX, then the value may be stale +# (indicates an unsuccessful instrument read) +# field(EGU , $(SYSDEV):UNIT) field(SCAN, "I/O Intr") } record (stringin, "$(SYSDEV):UNIT")