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: | ADLightField start LightField failed |
From: | GONG Yu via Tech-talk <tech-talk at aps.anl.gov> |
To: | tech-talk at aps.anl.gov |
Date: | Fri, 12 Nov 2021 09:35:37 +0800 (GMT+08:00) |
Hello,
I installed the areaDetector and the included ADLightField intended to control the spectrometer SCT320 and CCD-PIMAX4 512 (both are Princeton Instruments and can be controlled by LightField which have been tested). When I execute the command:
..\..\bin\windowns-x64\LightFieldApp.exe st.cmd
then the software LightField page start, but a dialog pops up said: LightFiled has stopped working.
After then, another dialog pops up: AddInProcess.exe has stopped working. I Look into the detail of the description on it, I found System.DllNotFoundException. I do not know if this error caused by some dll files missing, if so which dll files I missed and how to solve it?
After closing the dialogs (which prompts AddInProcess.exe has stopped working), in the command window that show information related to EPICS there prompts: System.Runtime.Remoting.RemotingException: Failed to read from an IPC Port. The pipe has been ended...
I donnot know how to solve these situations, and need helps.
EPICS base version: 7.0.3.1
areaDetector version: R3-11 (inclued in synApps 6_2_1)
os: windows 7 pro sp1
LightField version: 4/5.3
st.cmd is listed below:
< envPaths
errlogInit(20000)
dbLoadDatabase("$(TOP)/dbd/LightFieldApp.dbd")
LightFieldApp_registerRecordDeviceDriver(pdbbase)
# Prefix for all records
epicsEnvSet("PREFIX", "13LF1:")
# The port name for the detector
epicsEnvSet("PORT", "LF1")
# The queue size for all plugins
epicsEnvSet("QSIZE", "20")
# The maximim image width; used for row profiles in the NDPluginStats plugin
epicsEnvSet("XSIZE", "512")
# The maximim image height; used for column profiles in the NDPluginStats plugin
epicsEnvSet("YSIZE", "512")
# The maximum number of time seried points in the NDPluginStats plugin
epicsEnvSet("NCHANS", "2048")
# The maximum number of frames buffered in the NDPluginCircularBuff plugin
epicsEnvSet("CBUFFS", "500")
# The search path for database files
epicsEnvSet("EPICS_DB_INCLUDE_PATH", "$(ADCORE)/db")
LightFieldConfig("$(PORT)", "", 0, 0)
asynSetTraceIOMask("$(PORT)",0,2)
#asynSetTraceMask("$(PORT)",0,255)
dbLoadRecords("$(ADLIGHTFIELD)/db/LightField.template", "P=$(PREFIX),R=cam1:,PORT=$(PORT),ADDR=0,TIMEOUT=1")
# Create a standard arrays plugin, set it to get data from the LightField driver.
NDStdArraysConfigure("Image1", 5, 0, "$(PORT)", 0, 0)
dbLoadRecords("$(ADCORE)/db/NDStdArrays.template", "P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT),TYPE=int16,FTVL=SHORT,NELEMENTS=1500000")
# Load all other plugins using commonPlugins.cmd
< $(ADCORE)/iocBoot/commonPlugins.cmd
set_requestfile_path("$(ADLIGHTFIELD)/lightFieldApp/Db")
iocInit()
# save things every thirty seconds
create_monitor_set("auto_settings.req", 30,"P=$(PREFIX)")