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

Subject: Re: Problems with first ADSimdetector implementation
From: Mark Rivers via Tech-talk <[email protected]>
To: Matteo C. <[email protected]>
Cc: tech-talk <[email protected]>
Date: Mon, 13 Jan 2020 15:09:46 +0000
Hi Matteo,

> I'm trying to get images from a little lab camera (of Thorlabs) using ADSimDetector for the first time, to get the feeling for areaDetector.

I think there may be some confusion here.  ADSimDetector is a simulated detector, it cannot be used to talk to real cameras, like your USB camera.

But you are on the right track, the first thing you should do is to get the ADSimDetector running with simulated images, so you can  test the plugins and the viewer.

> To get the image, I then Eenable in the NDStdArrays plugin the Enable PV and here the image is supposed to appear,
> but instead I get this error from the IOC after pressing "Process Plugin":
> NDPluginDriver::writeInt32 cannot do ProcessPlugin, no input array cached


You just missed one step.  In the ADSimDetector medm window you need to start the simDetector acquiring by pressing the Acquire/Start button.


Once you do that the NDStdArrays plugin will automatically process each array as it arrives, and you don't need to press "Process Plugin".


If you still have problems please send a screen shot of the ADSimDetector and NDStdArrays medm screens.


Mark



________________________________
From: Tech-talk <[email protected]> on behalf of Matteo C. via Tech-talk <[email protected]>
Sent: Monday, January 13, 2020 8:59 AM
To: [email protected]
Subject: Problems with first ADSimdetector implementation

Good morning everybody,
I'm trying to get images from a little lab camera (of Thorlabs) using ADSimDetector for the first time, to get the feeling for areaDetector. What I did is:
-installed areaDetector with everything needed
-installed medm for .adl visualization
-installed ImageJ for image visualization
To try to get the images, I open first with medm the .adl of ADSimdetector and ImageJ, then open the corresponding IOC via the simDetectorApp. Lastly I activate the ADViewer plugin of ImageJ. To get the image, I then Eenable in the NDStdArrays plugin the Enable PV and here the image is supposed to appear, but instead I get this error from the IOC after pressing "Process Plugin":

NDPluginDriver::writeInt32 cannot do ProcessPlugin, no input array cached
2020/01/13 15:41:51.008 NDPluginDriver::writeInt32 ERROR, status=3, function=68, paramName=PROCESS_PLUGIN, value=1, connectedToArrayPort_=1
2020/01/13 15:41:51.008 13SIM1:image1:ProcessPlugin devAsynInt32::processCallbackOutput process write error

As far as I have understood there is no array where to put the data in, but I do not know how to fix it and I couldn't find a solution anywhere. Is it a problem of the camera detection or did I something wrong in the setup?
By the way, the camera is attached via an USB 3.0 if that can be helpful.

Thank you in advance,
Matteo.




Replies:
Re: Problems with first ADSimdetector implementation Mark Rivers via Tech-talk
References:
Problems with first ADSimdetector implementation Matteo C. via Tech-talk

Navigate by Date:
Prev: Problems with first ADSimdetector implementation Matteo C. via Tech-talk
Next: Re: Problems with first ADSimdetector implementation 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  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Problems with first ADSimdetector implementation Matteo C. via Tech-talk
Next: Re: Problems with first ADSimdetector implementation 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  2019  <20202021  2022  2023  2024 
ANJ, 13 Jan 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·