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  2020  2021  2022  2023  2024  2025  <2026 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  2020  2021  2022  2023  2024  2025  <2026
<== Date ==> <== Thread ==>

Subject: Re: Compressed image without NDPluginCodec
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: "Nariyoshi, Pedro" <nariyosh at frib.msu.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 13 Feb 2026 20:57:47 -0800
On 2/13/26 12:29 PM, Nariyoshi, Pedro via Tech-talk wrote:

Hello all,


I have been trying to create a records to display an image on a CS-Studio Phoebus screen. The problem is that transmitting the waveforms directly is quite bandwidth intensive. For our cameras, we tend to use NDPluginCodec with NDPluginPva, which works fairly well, but I would like to avoid having to write some glue code to send the waveforms to a dummy asynNDArrayDriver. I have been trying (without much success) to do it. I have tried creating a json to load via dbLoadGroup and via p4p, but as soon as I set the codec to jpeg and try to send compressed data, everything stops working:

Mark Rivers has recently done some work with the new NDPluginPvx and compression, which may be relevant.


 nt.wrap doesn't like the compressed data,

Correct, so far.  I would be interested if someone had time to look at adding support to P4P.  Identifying python libraries implementing the various compression algorithms would be step one.


 and I am having trouble getting the json to have a structure that Phoebus will recognize.

The best I can point to now is this example from PVXS


https ://github.com/epics-base/pvxs/blob/master/test/image.db


the equivalent for dbLoadGroup


https ://github.com/epics-base/pvxs/blob/master/test/image.json


The dummy "QSRV2_image_demo" pixels array used by this example comes from


https ://github.com/epics-base/pvxs/blob/master/ioc/imagedemo.c



 Does anyone have experience with this? Or maybe a suggestion on how to get compressed data to display on Phoebus screens?


Best regards,

Pedro Nariyoshi

Software Controls Engineer

Facility for Rare Isotope Beams

Michigan State University

640 South Shaw Lane

East Lansing, MI 48824, USA

Tel. 517-908-7352

Email: nariyosh at frib.msu.edu

1633986722804




Replies:
Re: Compressed image without NDPluginCodec Érico Nogueira Rolim via Tech-talk
References:
Compressed image without NDPluginCodec Nariyoshi, Pedro via Tech-talk

Navigate by Date:
Prev: Compressed image without NDPluginCodec Nariyoshi, Pedro via Tech-talk
Next: Re: Yes, Base 7.0.10 was released! Han Lee 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  2020  2021  2022  2023  2024  2025  <2026
Navigate by Thread:
Prev: Compressed image without NDPluginCodec Nariyoshi, Pedro via Tech-talk
Next: Re: Compressed image without NDPluginCodec Érico Nogueira Rolim 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  2020  2021  2022  2023  2024  2025  <2026
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·