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: | Mark Rivers <[email protected]> |
To: | "'Madden, Timothy J.'" <[email protected]>, "'bob dalesio'" <[email protected]> |
Cc: | EPICS tech-talk <[email protected]> |
Date: | Fri, 10 Mar 2017 17:42:55 +0000 |
Ø
I think I need just monitor the uniqueID, and when it changes, then I can do a full get of the ntndarray. That is how the existing Channel Access client used to work. However, it was recently changed to monitor ArrayCounter_RBV rather than UniqueId. The reason is that areaDetector now supports processing plugins again without waiting for
a new NDArray to arrive. In that case the UniqueId will not change, so ImageJ would not display the new array. The ArrayCounter_RBV field in the NDPluginStdArrays (Channel Access) or NDPluginPva (pvAccess) will always increment, so you could monitor that
instead. However, this approach will make your code specific to that areaDetector plugin since that PV is not part of the NTNDArray structure. Thus your ImageJ plugin would not work with other PV access servers sending NTNDArrays. I would be surprised
if you cannot monitor the entire NTNDArray rather than having to monitor something else and then do a get. It seems to work fine in the pvaDriver.cpp C++ code. I suggest you try to make that original approach work. Mark From: Madden, Timothy J. [mailto:[email protected]]
folks From: Mark Rivers [[email protected]] He is correctly connected to the NDPluginPva server. From:
[email protected] [mailto:[email protected]]
On Behalf Of bob dalesio Are you connected to the area detector server or the waveform record? We are now working on making records put in the metadata. Bob On Mar 10, 2017 11:16 AM, "Madden, Timothy J." <[email protected]> wrote: I am playing with NTNDArrays. I generate them from AD 2-5 with a sim detector and the pva plugin.
|