From b25e1990f5f42955b199a7c06aed7c910d85659d Mon Sep 17 00:00:00 2001
From: Kyrre Sjobak <kyrre.ness.sjoebaek@cern.ch>
Date: Tue, 11 May 2021 13:11:07 +0200
Subject: [PATCH] Some more EPICS

---
 epicsIOC/db/positionGauge.db | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/epicsIOC/db/positionGauge.db b/epicsIOC/db/positionGauge.db
index 916a6d8..0605e57 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")
-- 
GitLab