From 2c649fe83e135a78e3ed6b445ee8cc54ce136e7d Mon Sep 17 00:00:00 2001 From: Jerzy Jamroz Date: Tue, 17 Sep 2024 11:52:19 +0200 Subject: [PATCH] refactor: mrmevroutdly.db added to manage the fine dly outs. --- evrMrmApp/Db/Makefile | 1 + evrMrmApp/Db/mrmevrout.db | 28 ---------------------------- evrMrmApp/Db/mrmevroutdly.db | 27 +++++++++++++++++++++++++++ 3 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 evrMrmApp/Db/mrmevroutdly.db diff --git a/evrMrmApp/Db/Makefile b/evrMrmApp/Db/Makefile index 95bde3a05..c076e4272 100644 --- a/evrMrmApp/Db/Makefile +++ b/evrMrmApp/Db/Makefile @@ -6,6 +6,7 @@ include $(TOP)/configure/CONFIG USR_DBFLAGS += -I$(TOP)/mrmShared/Db DB += mrmevrout.db +DB += mrmevroutdly.db DB += mrmevrbase.template DB += mrmevrdc.template DB += mrmevrbufrx.db diff --git a/evrMrmApp/Db/mrmevrout.db b/evrMrmApp/Db/mrmevrout.db index 6ed2eb173..23b01fdd2 100644 --- a/evrMrmApp/Db/mrmevrout.db +++ b/evrMrmApp/Db/mrmevrout.db @@ -523,31 +523,3 @@ record(waveform, "$(ON)Label-I") { info(autosaveFields_pass1, "VAL") alias("$(ON)User-SP") } - -# Fine delay - -record(ao, "$(ON)FineDelay-SP") { - field( DESC, "Fine delay output") - field( DTYP, "Obj Prop double") - field( OUT , "@OBJ=$(OBJ), PROP=Fine Delay") - field( EGU , "ns") - field( PINI, "YES") - field( VAL , "0") - field( HOPR, "8.686") - field( LOPR, "0") - field( DRVH, "10") - field( DRVL, "0") - field( PREC, "2") - field( FLNK, "$(ON)FineDelay-RB") - info( autosaveFields_pass0, "VAL") -} - -record(ai, "$(ON)FineDelay-RB") { - field( DESC, "Fine delay") - field( DTYP, "Obj Prop double") - field( INP , "@OBJ=$(OBJ), PROP=Fine Delay") - field( HIHI, "8.687") - field( LOLO, "-0.001") - field( PREC, "2") - field( EGU, "ns") -} diff --git a/evrMrmApp/Db/mrmevroutdly.db b/evrMrmApp/Db/mrmevroutdly.db new file mode 100644 index 000000000..2b3534e67 --- /dev/null +++ b/evrMrmApp/Db/mrmevroutdly.db @@ -0,0 +1,27 @@ +# Fine delay adapter for mrmevrout.db + +record(ao, "$(ON)FineDelay-SP") { + field( DESC, "Fine delay output") + field( DTYP, "Obj Prop double") + field( OUT , "@OBJ=$(OBJ), PROP=Fine Delay") + field( EGU , "ns") + field( PINI, "YES") + field( VAL , "0") + field( HOPR, "8.686") + field( LOPR, "0") + field( DRVH, "10") + field( DRVL, "0") + field( PREC, "2") + field( FLNK, "$(ON)FineDelay-RB") + info( autosaveFields_pass0, "VAL") +} + +record(ai, "$(ON)FineDelay-RB") { + field( DESC, "Fine delay") + field( DTYP, "Obj Prop double") + field( INP , "@OBJ=$(OBJ), PROP=Fine Delay") + field( HIHI, "8.687") + field( LOLO, "-0.001") + field( PREC, "2") + field( EGU, "ns") +}