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: Synchronization and saving frame rate
From: Bruno Martins via Tech-talk <tech-talk at aps.anl.gov>
To: "Matteo C." <matteo603 at hotmail.it>
Cc: tech-talk <tech-talk at aps.anl.gov>
Date: Wed, 29 Apr 2020 10:44:11 -0400
Hi Matteo,

If you want an upper bound on the rate of images, you can set MinCallbackTime [1] to 1 on the NDPluginStdArray plugin. This means that this plugin will process no faster than 1 second.
If you want exactly 1/10th of the data rate, you can probably use the NDPluginProcess in some configuration that will drop 9 out of 10 arrays. I haven't used it much, so I don't know how to do that exactly.


Bruno


On Wed, Apr 29, 2020 at 10:21 AM Matteo C. via Tech-talk <tech-talk at aps.anl.gov> wrote:
Hi everyone,
hope you are all safe and sound.
I need some help to solve a synchronization problem using Areadetector and its Plug-ins.
We would need to get different pieces of data from a camera and a Picoscope (Oscilloscope). The idea is to get data from the Picoscope and the average of the image at a certain rate, and the image itself at a 10th of this rate. I was wondering if there's an option to save via JPEG or HDF5 (which take care also of the time synchronization of the two) at different rates than the rate acquisition of the StdArray: for example if the frame rates of the camera and the Picoscope are at 10frames/s (we want an image for every second, and we want 10 sample of picoscope/average image per image), the image is saved every second and the picoscope/average of image 10 times per second. The reason is that we do not need that many images but mainly we are interested in the Picoscope and image average and we want to save some space.
Thank you,

Kind regards,
Matteo Ciarchi

Replies:
defining debug in modules/libcom/src/osi/epicsGeneralTime.c in epics-base leads to compilation error for TestIoc junkes via Tech-talk
References:
Synchronization and saving frame rate Matteo C. via Tech-talk

Navigate by Date:
Prev: Re: Synchronization and saving frame rate Mark Rivers via Tech-talk
Next: defining debug in modules/libcom/src/osi/epicsGeneralTime.c in epics-base leads to compilation error for TestIoc junkes 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: Re: Synchronization and saving frame rate Mark Rivers via Tech-talk
Next: defining debug in modules/libcom/src/osi/epicsGeneralTime.c in epics-base leads to compilation error for TestIoc junkes 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, 29 Apr 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·