1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Re: Epics iocInit() |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | "'fandayu at tucsen.com'" <fandayu at tucsen.com> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 8 Jul 2020 15:56:09 +0000 |
Hi, I am trying to understand the output you sent in errorlog.txt C:\Users\Administrator>cd C:\Epics\synApps\synApps_6_1\support\areaDetector-master\ADTucsen\bin\windows-x64 That is not the correct directory to cd to. The directory should be
C:\Epics\synApps\synApps_6_1\support\areaDetector-master\ADTucsen\iocs\tucsenIOC\iocBoot\iocTucsen C:\Epics\synApps\synApps_6_1\support\areaDetector-master\ADTucsen\bin\windows-x64>start_epics.bat Where did you get that start_epics.bat file? It does not come with ADTuscen. For now you don’t need a start_epics.bat file. If you want to use it then it belongs in the ADTucsen\iocs\tucsenIOC\iocBoot\iocTucsen directory. C:\Epics\synApps\synApps_6_1\support\areaDetector-master\ADTucsen\bin\windows-x64>set ADTUCSEN=C:/Epics/synApps/synApps_6_1/support/areaDetector-master/ADTucsen C:\Epics\synApps\synApps_6_1\support\areaDetector-master\ADTucsen\bin\windows-x64>set ADCORE=C:/Epics/synApps/synApps_6_1/support/areaDetector-master/ADCore You should not need either of those SET commands. C:\Epics\synApps\synApps_6_1\support\areaDetector-master\ADTucsen\bin\windows-x64>tucsenApp st.cmd How is it finding tucsenApp? Have you copied it to the ADTucsen\bin\windows-x64 directory, or did you add something to your PATH? That is not where tucsenApp.exe gets installed by “make”. < envPaths epicsEnvSet("IOC","iocWindows") epicsEnvSet("TOP","C:/Epics/synApps/synApps_6_1/support/mca-R7-8") epicsEnvSet("SUPPORT","C:/Epics/synApps/synApps_6_1/support") epicsEnvSet("CALC","C:/Epics/synApps/synApps_6_1/support/calc-R3-7-3") epicsEnvSet("SSCAN","C:/Epics/synApps/synApps_6_1/support/sscan-R2-11-3") epicsEnvSet("BUSY","C:/Epics/synApps/synApps_6_1/support/busy-R1-7-2") epicsEnvSet("STD","C:/Epics/synApps/synApps_6_1/support/std-R3-6") epicsEnvSet("SNCSEQ","C:/Epics/synApps/synApps_6_1/support/seq-2-2-6") epicsEnvSet("AUTOSAVE","C:/Epics/synApps/synApps_6_1/support/autosave-R5-10") epicsEnvSet("ASYN","C:/Epics/synApps/synApps_6_1/support/asyn-R4-37") epicsEnvSet("MCA","C:/Epics/synApps/synApps_6_1/support/mca-R7-8") epicsEnvSet("EPICS_BASE","C:/Epics/base-7.0.3.1") errlogInit(20000) Where did you get that envPaths file? That file cannot be one that was built with ADTucsen.
If you were in the correct directory, ADTucsen\iocs\tucsenIOC\iocBoot\iocTucsen and if the Makefile there has the correct ARCH then it will build a good version of envPaths for you there. dbLoadDatabase("C:/Epics/synApps/synApps_6_1/support/mca-R7-8/dbd/tucsenApp.dbd") filename="C:\Epics\base-7.0.3.1\modules\database\src\ioc\dbStatic\dbLexRoutines.c" line number=264 No such file or directory dbRead opening file C:/Epics/synApps/synApps_6_1/support/mca-R7-8/dbd/tucsenApp.dbd Your st.cmd file is loading some non-existent tucsenApp.dbd file from the mca-R6-8/dbd directory. It should be loading it from ADTucsen\iocs\tucsenIOC\dbd. Mark From: fandayu at tucsen.com <fandayu at tucsen.com>
Hi Mark the error log in attached(errorlog.txt) thak you for help
|