2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 2025 | Index | 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Compression record returns double value for field "N" over channel access |
From: | Timo Korhonen via Core-talk <core-talk at aps.anl.gov> |
To: | Ralph Lange <ralph.lange at gmx.de>, EPICS Core Talk <core-talk at aps.anl.gov> |
Date: | Fri, 25 Nov 2022 11:25:52 +0000 |
Hi, I chime in here as we discussed this with Georg yesterday. Using cainfo, the original IOC reports both native and request data types as double (DBF_DOUBLE resp. DBR_DOUBLE). PVA (pvget and pvinfo) reports uint, by the way (not ulong). Cheers, Timo From: Core-talk <core-talk-bounces at aps.anl.gov> on behalf of EPICS Core Talk <core-talk at aps.anl.gov> On Fri, 25 Nov 2022 at 11:14, Georg Weiss via Core-talk <core-talk at aps.anl.gov> wrote:
Well, kind of. Channel Access can't transport ULONG data. Instead, it will use DOUBLE. Thus, when doing the cainfo against the original compress record (on the IOC), I would expect that you see the Native type as DBF_ULONG and the Request Type as DBR_DOUBLE. The CA Gateway, however, has already a CA connection on the IOC side, so the data item for an original ULONG is of type DOUBLE inside the Gateway. This means when you're doing a cainfo against the Gateway, it would report both the Native
and the Request type as DOUBLE. Please re-check your statement that you see the same result against the original IOC. I would expect the Native type to be ULONG in that case. Cheers, ~Ralph |