Experimental Physics and Industrial Control System
|
Hi Jörn,
You
might want to take a look at the code here which converts between NDArrays and NTNDArrays.
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Jörn Dreyer via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, October 24, 2023 7:04 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Strange error from pvAccess
Hello,
I am using pvAccess to read image data from a NDPluginPVA in areaDetector.
When I do the following lines in my program:
PvaClientChannelPtr channel = pva->channel((m_ImagePrefix + *imgDataPV).toStdString().c_str(), m_AccessMethod->toStdString().c_str(), 2.0);
epics::pvData::shared_vector<const double> array = channel->getDoubleArray();
I get an error:
Error: PvaClientData::getDoubleArray() did not find a scalarArray field
m_AccessMethod->toStdString().c_str() returns "pva".
If I use the same code with channel access it works.
Do I have to pass some special string to getDoubleArray in case of NDPluginPVA?
Regards,
Jörn
|
- Replies:
- Re: Strange error from pvAccess Jörn Dreyer via Tech-talk
- References:
- Strange error from pvAccess Jörn Dreyer via Tech-talk
- Navigate by Date:
- Prev:
Strange error from pvAccess Jörn Dreyer via Tech-talk
- Next:
RE: [EXTERNAL] Re: process multiple lines with streamdevice Baily, Scott A via Tech-talk
- 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
2025
- Navigate by Thread:
- Prev:
Strange error from pvAccess Jörn Dreyer via Tech-talk
- Next:
Re: Strange error from pvAccess Jörn Dreyer via Tech-talk
- 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
2025
|
ANJ, 24 Oct 2023 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
·
Download
·
Search
·
IRMIS
·
Talk
·
Documents
·
Links
·
Licensing
·
|