|
Hi Pedro,
You might look at NDDriverStdArrays. It might be the glue layer that can convert your waveform records to NDArrays, and then you can run them through NDPluginCodec.
That being said the compression support in Phoebus is pretty limited. It works only for JPEG and LZ4, and does not support RGB images with JPEG, so no color cameras. I should say my Phoebus version is a couple years old, so maybe it has been improved?
The ImageJ NTDAViewer plugin supports all the codecs in NDPluginCodec. It uses the codec shareable libraries built in ADSupport, rather than using native Java codecs. It would be nice if Phoebus could optionally use these libraries as well. For example,
the best codec for Dectris Eiger detectors is often bslz4, but Phoebus can’t display that, while ImageJ can. They are both written in Java.
Mark
Sent from my iPhone
On Feb 13, 2026, at 2:29 PM, Nariyoshi, Pedro via Tech-talk <tech-talk at aps.anl.gov> 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: nt.wrap doesn't like the compressed data, and I am having trouble getting the json to have a structure that Phoebus will recognize. 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
|
<OutlookEmoji-1633986722804c1d92827-78e5-4fb8-a88f-762893e3547d.jpg>
|
|