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  2014  2015  2016  2017  2018  2019  2020  <20212022  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: ADLightField start LightField failed
From: Mark L Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: GONG Yu <gongyu at ihep.ac.cn>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 15 Nov 2021 20:27:33 +0000

Hi,

Ø  os: windows 7 pro sp1

Ø  LightField version: 4/5.3  

I am not sure what you mean by LightField 4/5.3.  Do you mean you have tried both version 4 and version 5.3? 

 

It appears that you are running a very old version of LightField, 5.3 is from 2015.  The ADLightfield RELEASE.md file says for R2-5 (January 2018) that the version of LightField supported is 6.4.  We are currently using LightField 6.13.1 and it works fine.

 

You need to update to a recent version of LightField if you want to use ADLightField.

 

Mark

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of GONG Yu via Tech-talk
Sent: Thursday, November 11, 2021 7:36 PM
To: tech-talk at aps.anl.gov
Subject: ADLightField start LightField failed

 

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)")

 


--
宫宇 (GongYu)

Beijing Synchrotron Radiation FacilityInstitute of High Energy Physics, CAS

19B YuquanLu, Shijingshan District, Beijing, 100049

Phone: +86-10-88235981


References:
ADLightField start LightField failed GONG Yu via Tech-talk

Navigate by Date:
Prev: RE: Help with Blackfly FLIR/PointGrey Camera Mark L Rivers via Tech-talk
Next: disk space / network monitor in iocStats? Pearson, Matthew R. via Tech-talk
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  <20212022  2023  2024 
Navigate by Thread:
Prev: ADLightField start LightField failed GONG Yu via Tech-talk
Next: Access motor controller target positions of other axes in asynMotorAxis::move Laurenz Rettig via Tech-talk
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  <20212022  2023  2024