edb.def File


Capfast compatibility mode

In Capfast compatibility mode tdct requires at least one "edb.def" file which defines:
The [edbdef] directive in the tdct configuration file specifies the path to the "edb.def" file. A different file name than edb.def may be chosen.
The tdct parser for the edb.def file recognizes an [include] directive. This allows project-specific customization of "edb.def" file sets.
Here is a section of an edb.def file which illustrates the file format:

(RECORD "eai" "eais" "eaim" "eaisim"
    (PV (char))
    (Type "ai")
    (ASG  (char(default "")))
    (DESC (char))
    (SCAN (char(default "Passive")))
    (PINI (char(default "NO")))
    (PHAS (int))
    (EVNT (int))
    (DTYP (char(default "Soft Channel")))
    (DISV (int))
    (SDIS (char(default "0.000000000000000e+00")))
    (DISS (char(default "NO_ALARM")))
    (PRIO (char(default "LOW")))
    (FLNK (char(default "0.000000000000000e+00")))
    (INP  (char(default "0.000000000000000e+00")))
    (PREC (int))
    (LINR (char(default "NO CONVERSION")))
    (EGUF (float))
    (EGUL (float))
    (EGU  (char))
    (HOPR (float))
    (LOPR (float))
    (AOFF (float))
    (ASLO (float))
    (SMOO (float))
    (HIHI (float))
    (LOLO (float))
    (HIGH (float))
    (LOW  (float))
    (HHSV (char(default "NO_ALARM")))
    (LLSV (char(default "NO_ALARM")))
    (HSV  (char(default "NO_ALARM")))
    (LSV  (char(default "NO_ALARM")))
    (HYST (float))
    (ADEL (float))
    (MDEL (float))
    (SIOL (char(default "0.000000000000000e+00")))
    (SIML (char(default "0.000000000000000e+00")))
    (SIMS (char(default "NO_ALARM")))
)
(RECORD "eao" "eaos" "eaom" "eaosim"
    (PV (char))
    (Type "ao")
    (DESC (char))
    (SCAN (char(default "Passive")))
    (PINI (char(default "NO")))
    (PHAS (int))
    (EVNT (int))
    (DTYP (char(default "Soft Channel")))
    (DISV (int))
    (SDIS (char(default "0.000000000000000e+00")))
    (DISS (char(default "NO_ALARM")))
    (PRIO (char(default "LOW")))
    (FLNK (char(default "0.000000000000000e+00")))
    (OUT  (char(default "0.000000000000000e+00")))
    (OROC (float))
    (DOL  (char(default "0.000000000000000e+00")))
    (OMSL (char(default "supervisory")))
    (OIF  (char(default "Full")))
    (PREC (int))
    (LINR (char(default "NO CONVERSION")))
    (EGUF (float))
    (EGUL (float))
    (EGU  (char))
    (DRVH (float))
    (DRVL (float))
    (HOPR (float))
    (LOPR (float))
    (AOFF (float))
    (ASLO (float))
    (HIHI (float))
    (LOLO (float))
    (HIGH (float))
    (LOW  (float))
    (HHSV (char(default "NO_ALARM")))
    (LLSV (char(default "NO_ALARM")))
    (HSV  (char(default "NO_ALARM")))
    (LSV  (char(default "NO_ALARM")))
    (HYST (float))
    (ADEL (float))
    (MDEL (float))
    (SIOL (char(default "0.000000000000000e+00")))
    (SIML (char(default "0.000000000000000e+00")))
    (SIMS (char(default "NO_ALARM")))
    (IVOA (char(default "Continue normally")))
    (IVOV (float))
)
[include] /projects/project1/project1.def



dbd mode

In dbd mode, the existing edb.def file can be used unchanged. Tdct only uses the information for mapping EPICS symbol names to EPICS record types.

Alternatively, the symbol name to record type mapping may be specified in the menu definitions of the tdct configuration file.