Cosylab / nds3_epics

EPICS module for NDS3
GNU General Public License v3.0
0 stars 5 forks source link

Process on init uses record names #8

Open NickeZ opened 7 years ago

NickeZ commented 7 years ago

Which means that it doesn't work if a custom database is used instead of the one generated by NDS.

If possible, do this without using record names.

NickeZ commented 7 years ago

Workaround for now is:

diff --git a/ndsSup/src/epicsFactoryImpl.cpp b/ndsSup/src/epicsFactoryImpl.cpp
index 09540ac..ec7c138 100644
--- a/ndsSup/src/epicsFactoryImpl.cpp
+++ b/ndsSup/src/epicsFactoryImpl.cpp
@@ -294,7 +294,7 @@ void EpicsFactoryImpl::epicsInitHookFunction(initHookState state)
             std::string command("dbpf ");
             command += *scanPVs;
             command += ".PROC 1";
-            iocshCmd(command.c_str());
+            //iocshCmd(command.c_str());
         }
         m_pFactory->m_processAtInit.clear();
     }