diff --git a/evrApp/Db/evrbase.db b/evrApp/Db/evrbase.db index 4a2254a6..63ff62e3 100644 --- a/evrApp/Db/evrbase.db +++ b/evrApp/Db/evrbase.db @@ -67,6 +67,13 @@ record(bi, "$(P)Link-Sts") { field(FLNK, "$(P)Cnt:RxErr-I") } +record(longin, "$(P)DBus-I") { + field(DTYP, "Obj Prop uint16") + field(DESC, "Read the DBus state") + field(INP , "@OBJ=$(OBJ), PROP=DBus State") + info( autosaveFields_pass0, "SCAN") +} + # The number of event link errors which have occurred. record(longin, "$(P)Cnt:RxErr-I") { field(DTYP, "Obj Prop uint32") diff --git a/evrApp/src/evr.cpp b/evrApp/src/evr.cpp index d9162c3d..378d7041 100644 --- a/evrApp/src/evr.cpp +++ b/evrApp/src/evr.cpp @@ -130,6 +130,8 @@ OBJECT_BEGIN(EVR) { OBJECT_PROP1("PLL Lock Status", &EVR::pllLocked); + OBJECT_PROP1("DBus State", &EVR::dbus); + OBJECT_PROP1("Interrupt Count", &EVR::irqCount); OBJECT_PROP1("Link Status", &EVR::linkStatus);