EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: areaDetector 2.0 on windows xp 32bit
From: Mark Rivers <[email protected]>
To: Zunbeltz Izaola <[email protected]>, "[email protected]" <[email protected]>
Date: Thu, 30 Oct 2014 12:39:46 +0000
Hi Izaola,

It looks like perhaps you have some commands in the wrong order in your st.cmd file.  The first command in st.cmd should be "<envPaths", but from your output it appears that the dbLoadRecords commands are before the <envPaths command.  It also looks like you are running iocInit twice?  Please look at the example in iocBoot/iocRoper/st.cmd to see the correct order of the commands.

For the medm problem, are you sure that you installed the 32-bit version of the EPICS Windows Tools, and not the 64-bit version by mistake?

Mark


________________________________________
From: [email protected] [[email protected]] on behalf of Zunbeltz Izaola [[email protected]]
Sent: Thursday, October 30, 2014 4:36 AM
To: [email protected]
Subject: areaDetector 2.0 on windows xp 32bit

Dear all,

I have installed the prebuild binaries of areaDetector (ADroper driver)
for windows 32bit.
I installed medm from the EPICS windows tools (medm.exe is on the windows
PATH) and the cygwin/X windows server.

I run xterm from the cygwin XLauncher (local) and move to the folder with
start_epics.bat file.
When running this file I have two problems

1) MEDM is no staring. I have and error windows with the message that
medm.exe is not a valid win32 application.

2) The ioc starts but with lots of error messages that I don't understand
(output of termimal below)

Can anyone point to me where can be the errors?
Thanks in advance for the help


C:\base-3.14.12.4\support\areaDetector-2-0\ADRoper\iocs\roperIOC\iocBoot\iocRoper1>..\..\bin\win32-x86\roperApp
st.cmd
macLib: macro ADCORE is undefined (expanding string
dbLoadRecords("$(ADCORE)/db/ADBase.template",
"P=$(PREFIX),R=cam1:,PORT=$(PORT),ADDR=0,TIMEOUT=1"))
macLib: macro ADCORE is undefined (expanding string
dbLoadRecords("$(ADCORE)/db/NDFile.template",
"P=$(PREFIX),R=cam1:,PORT=$(PORT),ADDR=0,TIMEOUT=1"))
macLib: macro ADROPER is undefined (expanding string
dbLoadRecords("$(ADROPER)/db/roper.template",
"P=$(PREFIX),R=cam1:,PORT=$(PORT),ADDR=0,TIMEOUT=1"))
macLib: macro ADCORE is undefined (expanding string
dbLoadRecords("$(ADCORE)/db/NDPluginBase.template","P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT),NDARRAY_ADDR=0"))
macLib: macro ADCORE is undefined (expanding string
dbLoadRecords("$(ADCORE)/db/NDStdArrays.template",
"P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,TYPE=Int16,FTVL=SHORT,NELEMENTS=1500000"))
macLib: macro ADCORE is undefined (expanding string <
$(ADCORE)/iocBoot/commonPlugins.cmd)
macLib: macro ADROPER is undefined (expanding string
set_requestfile_path("$(ADROPER)/roperApp/Db"))

Starting iocInit
iocRun: All initialization complete
save_restore:readReqFile: unable to open file ADBase_settings.req. Exiting.
save_restore:readReqFile: unable to open file NDFile_settings.req. Exiting.
save_restore:readReqFile: unable to open file roper_settings.req. Exiting.
save_restore:readReqFile: unable to open file NDPluginBase_settings.req.
Exiting.
save_restore:readReqFile: unable to open file NDStdArrays_settings.req.
Exiting.
save_restore:readReqFile: unable to open file commonPlugin_settings.req.
Exiting.
auto_settings.sav: 0 of 0 PV's connected
< envPaths
epicsEnvSet("ARCH","win32-x86")
epicsEnvSet("IOC","iocPVCam1")
epicsEnvSet("TOP","C:/base-3.14.12.4/support/areaDetector-2-0/ADRoper/iocs/roperIOC")
epicsEnvSet("SUPPORT","","C:/base-3.14.12.4/support")
epicsEnvSet("ASYN","C:/base-3.14.12.4/support/asyn-4-22")
epicsEnvSet("CALC","C:/base-3.14.12.4/support/calc-3-2")
epicsEnvSet("BUSY","C:/base-3.14.12.4/support/synApps_5_7/support/busy-1-6")
epicsEnvSet("SSCAN","C:/base-3.14.12.4/support/sscan-2-9")
epicsEnvSet("AUTOSAVE","C:/base-3.14.12.4/support/synApps_5_7/support/autosave-5-1")
epicsEnvSet("AREA_DETECTOR","C:/base-3.14.12.4/support/areaDetector-2-0")
epicsEnvSet("EPICS_BASE","C:/base-3.14.12.4")
errlogInit(20000)
dbLoadDatabase("C:/base-3.14.12.4/support/areaDetector-2-0/ADRoper/iocs/roperIOC/dbd/roperApp.dbd")
roperApp_registerRecordDeviceDriver(pdbbase)
Warning: IOC is booting with TOP =
"C:/base-3.14.12.4/support/areaDetector-2-0/ADRoper/iocs/roperIOC"
          but was built with TOP =
"J:/epics/devel-AD2.0/areaDetector/ADRoper/iocs/roperIOC"
epicsEnvSet("PREFIX", "13ROPER1:")
epicsEnvSet("PORT",   "ROPER1")
epicsEnvSet("QSIZE",  "20")
epicsEnvSet("XSIZE",  "1396")
epicsEnvSet("YSIZE",  "1040")
epicsEnvSet("NCHANS", "2048")
roperConfig("ROPER1", 0, 0)
asynSetTraceIOMask("ROPER1",0,2)
#asynSetTraceMask("$(PORT)",0,9)
# Create a standard arrays plugin, set it to get data from the Roper driver.
NDStdArraysConfigure("Image1", 5, 0, "ROPER1", 0, 0)
# Load all other plugins using commonPlugins.cmd
iocInit()
############################################################################
## EPICS R3.14.12.3 $Date: Mon 2012-12-17 14:11:47 -0600$
## EPICS Base built Sep 18 2013
############################################################################
# save things every thirty seconds
create_monitor_set("auto_settings.req", 30,"P=13ROPER1:")
epics> save_restore:write_save_file: Backup file (auto_settings.savB) bad
or not found.  Writing a new one. [141030-103703]





References:
areaDetector 2.0 on windows xp 32bit Zunbeltz Izaola

Navigate by Date:
Prev: areaDetector 2.0 on windows xp 32bit Zunbeltz Izaola
Next: Re: galil softIOC lose the galil controller Heinz Junkes
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: areaDetector 2.0 on windows xp 32bit Zunbeltz Izaola
Next: asynError IOC Message Patel Jignesh
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024