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  <20152016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: multiple overlays with NDPluginOverlay
From: David Michel <dmichel76@googlemail.com>
To: EPICS mailing list <tech-talk@aps.anl.gov>
Date: Wed, 11 Feb 2015 10:09:29 +0000
Hi All,

I'm trying to get 2 overlays on my camera image but I'm confused with how to use NDPluginOverlay correctly. I've managed to get one overlay working properly with:


NDOverlayConfigure("$(PREFIX)OVER", $(QSIZE), 0, "$(PREFIX)ROI", 0, 1, 0, 0)
dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDPluginBase.template","P=$(PREFIX),R=Over1:, PORT=$(PREFIX)OVER,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PREFIX)ROI,NDARRAY_ADDR=0")
dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDOverlay.template","P=$(PREFIX),R=Over1:, PORT=$(PREFIX)OVER,ADDR=0,TIMEOUT=1")
dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDOverlayN.template","P=$(PREFIX),R=Over1:1:,NAME=Crosshair,SHAPE=0,O=Over1:,XPOS=400,YPOS=400,XSIZE=100,YSIZE=100,PORT=$(PREFIX)OVER,ADDR=0,TIMEOUT=1")

Now... I want to add a second overlay, my guess was that I could just load NDOverlayN.template again with R=Over1:2 and set maxOverlays=2 in the call to NDOverlayConfigure. This, however does not work, as both Over1:1 and Over1:2 seem to control the same single overlay. I must be missing something trivial here, any help greatly appreciated!

Thanks,
David

Replies:
RE: multiple overlays with NDPluginOverlay Mark Rivers

Navigate by Date:
Prev: can run multiple IOCs on single host? JaeRyong Seo
Next: Re: can run multiple IOCs on single host? Pierrick Hanlet
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: can run multiple IOCs on single host? JaeRyong Seo
Next: RE: multiple overlays with NDPluginOverlay Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·