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  2014  2015  2016  2017  2018  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: Re: Is anyone building AreaDetector with Sumo?
From: Jeong Han Lee via Tech-talk <tech-talk@aps.anl.gov>
To: "Johnson, Andrew N." <anj@anl.gov>, EPICS tech-talk <tech-talk@aps.anl.gov>
Date: Thu, 22 Aug 2019 01:00:53 +0200


On 8/22/19 12:54 AM, Jeong Han Lee wrote:
Hi Andrew,


On 8/21/19 8:14 PM, Johnson, Andrew N. via Tech-talk wrote:
I realise there probably aren't many sites out there using the HZB Sumo package <https://goetzpf.bitbucket.io/sumo/>, but has anyone who does use it worked out how to configure and build AreaDetector with it, either as a series of separate modules or as one big module?

Unlike most EPICS modules AreaDetector has multiple kinds of RELEASE files that need to be populated, and a non-trivial configuration process (which is well-documented <https://areadetector.github.io/master/install_guide.html>).

The Sumo tool automates the configuration and building of sets of EPICS modules on demand, but I'm not sure if it can cope with configuring AreaDetector. If someone has succeeded in doing so I would be grateful to hear details or ideas how best to approach it — I haven't tried yet and I will need to do that soon.


   If the Sumo tool does its job well with the most EPICS modules, I think, the tool does the same job on the AreaDetector also. But we may not use the current global configuration files of areadetector with the Sumo tool, because here we (ESS) can build them as individual modules, and combine "necessary components" to build "an Application" and run an IOC without any issues.


    For example, in order to see images from a PointGrey  (FLIR) camera,

   Here (ESS), we define system libraries and ADSupport clearly in terms of OS. And we compile ADSupport as a module, And we compile ADCore which has the maximum configuration options with both dependent libraries (system and ADSupport) together. And we compile ADPointGrey according to ADCore, ADSupport, and system libraries. (Note that the vendor libraries also we have to consider.)

   The full dependent chain for my example (ignore system libraries and vendor lib) is

   EPICS Base < Asyn < ADsupport < ADCore < ADPointGrey < FLIR Camera IOC application

      This is not true, and the following is the correct one.

<pre>
 ```
      *  EPICS Base -> asyn -> ADCore <- ADSupport
                               |
                               V
         Vendor Lib -> ADPointGrey -> FLIR Camera IOC application
```
</pre>

    Best,
    Han


   In addition, you also have to consider how you would like to handle all template files and configuration files in the different manners.

    BTW, how Debian-based facilities does handle the areadetector?


    HTH,
    Han




- Andrew

--
Complexity comes for free, Simplicity you have to work for.


Replies:
Re: Is anyone building AreaDetector with Sumo? Mark Rivers via Tech-talk
References:
Is anyone building AreaDetector with Sumo? Johnson, Andrew N. via Tech-talk
Re: Is anyone building AreaDetector with Sumo? Jeong Han Lee via Tech-talk

Navigate by Date:
Prev: Re: Is anyone building AreaDetector with Sumo? Jeong Han Lee via Tech-talk
Next: PINI set to YES but no VAL field in the record definition Hinko Kocevar 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  <20192020 
Navigate by Thread:
Prev: Re: Is anyone building AreaDetector with Sumo? Jeong Han Lee via Tech-talk
Next: Re: Is anyone building AreaDetector with Sumo? Mark Rivers 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  <20192020 
ANJ, 22 Aug 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·