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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: NTNDArrays, Java |
From: | "Madden, Timothy J." <[email protected]> |
To: | "Kasemir, Kay" <[email protected]>, Marty Kraimer <[email protected]> |
Cc: | EPICS tech-talk <[email protected]> |
Date: | Tue, 14 Mar 2017 20:35:23 +0000 |
Thanks to all you folks, I think I have the thing working, as far as getting the image, dims , and data out of ntndarray. I am now starting to write the Image J plugin, which is the easy part. I should have something in a few days, and will post. T From: Kasemir, Kay [[email protected]]
Sent: Tuesday, March 14, 2017 3:00 PM To: Marty Kraimer Cc: Madden, Timothy J. Subject: Re: NTNDArrays, Java
Hi!
CS-Studio includes a PVAccess client that decodes epics:nt/NTNDArray:1.0.
It’s used by the display builder, i.e. the BOY update, as presented at the last EPICS meeting. It has been tested with the rotating ‘E’ image from David Hickin’s https://github.com/dhickin/epicsv4Training .
It is specific to CS-Studio in the sense that it wraps the image data as a “VImage” type, i.e. as one of the value V* types that we used inside CS-Studio. Still, you can check the basic PVA client code at https://github.com/ControlSystemStudio/cs-studio/tree/diirt_68_VImage/core/base/base-plugins/org.csstudio.vtype.pv/src/org/csstudio/vtype/pv/pva :
PVA_PV connects & subscribes to a channel, PVStructureHelper handles the received monitors, VImageForNTNDArray handles the specifics of getting the dimension and the waveform of pixels out of an epics:nt/NTNDArray:1.0. The VImage is a relic of that otherwise somewhat unfortunate PVManager / diirt development: It was only recently extended to support more than just a byte[] array for the waveform, and at that time Kunal started to add image types (MONO, ..):
All I’ve ever seen and tested is MONO as presented by the rotating ‘E’ example image, and the display builder widget then shows that in various color maps.
The idea is that Matt Pearson who’s working on the area detector here at SNS would eventually add the PVA server plugin for the area detector to our setups, and then I’d update the CS-Studio code as required to show those images, for example color images served by area detector when connected to a camera. -Kay
|