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: | FW: 2D waveform records |
From: | Mark Rivers via Tech-talk <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Thu, 14 Feb 2019 17:58:20 +0000 |
I had sent this answer yesterday but forgot once again that I need to manually add tech-talk to the cc: now. Grrr. From: Mark Rivers The EPICS database, records, and Channel Access handles 1-D arrays, not 2-D. That being said the EPICS areaDetector software is commonly used with 2-D, 3-D and higher dimensional arrays. EPICS waveform records are used. The waveform record treats the array as 1-D, but there are other
records that describe the actual number of dimensions and dimension sizes of the array. The waveform record just needs to be big enough to hold the entire array. Mark From:
[email protected] <[email protected]>
On Behalf Of Sobhani, Bayan via Tech-talk Is it possible to have 2D waveform in EPICS? I have a waveform PV called ScanResults with type “DBR_DOUBLE[4]”. Would it be possible for it to have a type “DBR_DOUBLE[2][2]”? I notice the asynPortDriver::readFloat64Array function has a
field for nElements but does not seem to have a field for dimensions. Alex |