EPICS Controls Argonne National Laboratory

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: ADLightField Prebuilt - LightField.dll Not Found
From: Mark Rivers <[email protected]>
To: Zachary Brown <[email protected]>, EPICS Tech Talk <[email protected]>
Date: Thu, 8 May 2014 03:53:21 +0000
Hi Zachary,

Unfortunately I recently realized that the pre-built version of the LightField driver won't work.

All of the other areaDetector pre-built applications are statically built.  The LightField driver cannot be statically built, because the Microsoft Common Language Runtime can only be used with dynamically built applications.  Because the LightField driver is dynamically built it depends on dozens of DLLs, including those from EPICS base, asyn, calc, autosave, etc.

LightField.dll is located in ADLightField/bin/windows-x64-dynamic, which is not distributed with the pre-built files (ADLightField/iocs/iocLightField/bin/windows-x64-dynamic is the directory with the LightFieldApp.exe application).  But even if LightField.dll were distributed you would then get more errors, because it would not find ca.dll, Com.dll, asyn.dll, etc.

I could write a script to include all of those DLLs, but I have not had a chance.

Meanwhile, you could build the LightField driver from the source code.

Mark



________________________________
From: [email protected] [[email protected]] on behalf of Zachary Brown [[email protected]]
Sent: Wednesday, May 07, 2014 10:11 PM
To: EPICS Tech Talk
Subject: ADLightField Prebuilt - LightField.dll Not Found

Hi,

I've installed the pre-built binaries for Lightfield (upgrading from the Roper IOC I installed a while back for the WinView software) for the Princeton Quad RO detector, and on launch, LightFieldApp.exe crashes because it cannot find 'Lightfield.dll'.

The camera is functional in Lightfield.  The crash happens when running the start_epics.bat from either iocLightField or iocLightField2 included in the download.  The .dlls in the /bin/windows-x64-dynamic/ directory match the .dlls installed with the Lightfield software; I could not find a simply-named "Lightfield.dll" installed with the Lightfield software.

The dllPaths.bat has the appropriate path to the dll files that were included with ADLightField, and LightField also adds itself to Win7's PATH as well, so it should have proper direction to the Princeton.*.dlls if those are all the IOC should need.

Is there a specific Lightfield.dll, and where can it be found?

Thank you,

-ZB



References:
ADLightField Prebuilt - LightField.dll Not Found Zachary Brown

Navigate by Date:
Prev: ADLightField Prebuilt - LightField.dll Not Found Zachary Brown
Next: Re: Newport XPS-Q8 and Motor Record - armv5teb architecture Torsten Bögershausen
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: ADLightField Prebuilt - LightField.dll Not Found Zachary Brown
Next: support for oriel cornerstone monochromator David M. Kline
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 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·