On 2/14/26 01:57, Michael Davidsaver via Tech-talk wrote:
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.
For P4P, would the library then be able to handle compression transparently (à la libhdf5)?
Do you think PVXS would ever support such a mechanism, or would it remain a lower level tool and simply forward already compressed buffers and compression metadata?
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
|

|
Aviso Legal: Esta mensagem e seus anexos podem conter informações confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo e considere eventual consulta
ao remetente antes de copiá-la, divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, por favor avise o remetente e apague-a imediatamente.
Disclaimer: This email and its attachments may contain confidential and/or privileged information. Observe its content carefully and consider possible querying
to the sender before copying, disclosing or distributing it. If you have received this email by mistake, please notify the sender and delete it immediately.
- Replies:
- Re: Compressed image without NDPluginCodec Michael Davidsaver via Tech-talk
- References:
- Compressed image without NDPluginCodec Nariyoshi, Pedro via Tech-talk
- Re: Compressed image without NDPluginCodec Michael Davidsaver via Tech-talk
- Navigate by Date:
- Prev:
Re: Help in debugging ACF connection issue Érico Nogueira Rolim via Tech-talk
- Next:
Re: Compressed image without NDPluginCodec Michael Davidsaver 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:
Re: Compressed image without NDPluginCodec Michael Davidsaver via Tech-talk
- Next:
Re: Compressed image without NDPluginCodec Michael Davidsaver 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>
|