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 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
<== Date ==> <== Thread ==>

Subject: AreaDetector / ADURL queries
From: "Heesterman, Peter J" <Peter.Heesterman@ukaea.uk>
To: "EPICS Tech-Talk (tech-talk@aps.anl.gov)" <tech-talk@aps.anl.gov>
Date: Fri, 17 Mar 2017 14:13:50 +0000
Hi,
 
I have been working with AreaDetector and the URL driver.
This is aimed at providing a training module that uses an IP camera.
 
I’ve been working with release R1-9-1 (I believe this is the newest of the 1.x releases), using medm and the EPICS AD Viewer plugin of ImageJ.
I’m working with an Ubuntu /x64 14.04.3 in a VM.
I have GraphicsMagick 1.3.18.
 
However, I think my questions remain pertinent to release R2-5.
 
Questions:
 
1. In start_epics, I suspect that:
 
        medm -x -macro "P=13SIM1:, R=cam1:" simDetector.adl & is meant to be:
 
        medm -x -macro "P=13URL1:, R=cam1:" URLDriver.adl &
 
2. In st.cmd, in the line:
        {URLDriverConfig("$(PORT)", 0, 0)
 
    Is the brace character intended, or is a typo?
 
    I can make it work if the brace is removed.
 
3.  In st.cmd, some lines refer to R=cam1:, whereas some lines refer to R=image1:, is this intended?
     e.g.
        dbLoadRecords("$(ADURL)/db/URLDriver.template","P=$(PREFIX),R=cam1:,PORT=$(PORT),ADDR=0,TIMEOUT=1")
     and
        dbLoadRecords("$(ADCORE)/db/NDStdArrays.template", "P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT),TYPE=Int8,FTVL=UCHAR,NELEMENTS=12582912")
 
     I can make it work if I change R=image1: to R=cam1:
 
4. In auto_settings.req some lines refer to R=cam1:, and some refer to R=image1:, is this intended?
 
    Again, I can make it work if I change R=image1: to R=cam1:
 
5. The issue I haven’t been able to resolve is this (see screen shot):
 
I believe the software is correctly collecting image data frames, and the ImageJ plugin shows green with correct connection.
 
But – I don’t see any picture...
What could I be missing here?
 
I note that the “Colour mode” is Mono, where the camera has colour.
I also tried this with images/sun.jpg, which is definitely a colour picture.
 
 
Many thanks for help received,
 
Peter.
 
 
 
 

Replies:
Re: AreaDetector / ADURL queries Ralph Lange
Re: AreaDetector / ADURL queries Bruno Martins

Navigate by Date:
Prev: Streamdevice & variable length data Konrad, Martin
Next: Re: Asyn 4-30 Problem on Arm processor Jörn Dreyer
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
Navigate by Thread:
Prev: Re: Streamdevice & variable length data Dirk Zimoch
Next: Re: AreaDetector / ADURL queries Ralph Lange
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
ANJ, 20 Mar 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·