EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Strange error from pvAccess
From: Jörn Dreyer via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Tue, 24 Oct 2023 14:04:40 +0200
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 Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Is areaDetector documentation down? Maren Purves via Tech-talk
Next: Re: Strange error from pvAccess Mark Rivers 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  <20232024 
Navigate by Thread:
Prev: "invalid output sync mutex" and ci-scripts on windows Michael Davidsaver via Tech-talk
Next: Re: Strange error from pvAccess Mark Rivers 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  <20232024 
ANJ, 24 Oct 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·