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  <20192020  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: pvaClientCPP Release 4.5.0 access to a single sub field that has the correct type
From: Heinz Junkes via Tech-talk <[email protected]>
To: tech-talk <[email protected]>
Date: Thu, 28 Nov 2019 17:12:24 +0100
According the documentation to Release 4.5.0 :

Changes have been made for getDouble, putDouble, getDoubleArray, putDoubleArray, getString, putString, getStringArray, and putStringArray.

1) Previously each only had support for a top level field named value. Each now allows access to a single sub field that has the correct type. Thus pvRequest must select a single field. For example

    pva->channel("PVRdumbPowerSupply")->putDouble(1.0,"power.value" );


I try to access a double array  but with no success:

    string channelName("CRYVISIL:STM:FASTSCAN:IMAGE_CHUNK");
    string providerName("pva"); 
    PvaClientPtr pva = PvaClient::get(providerName);

       pva->channel(channelName, providerName, 1.0)->putDoubleArray(freeze(valx), "value.column0");  

error message:
2019/11/28 10:06:17.754 sis0: void Sis3316Port::updateTask(): PvaClientData::putDoubleArray() did not find a scalarArray field

Command line works:

[junkes@h epics]$ pvget -r "value.column0" CRYVISIL:STM:FASTSCAN:IMAGE_CHUNK
CRYVISIL:STM:FASTSCAN:IMAGE_CHUNK structure
    structure value
        double[] column0 []

How can I address the DoubleArray?

Danke Heinz

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Replies:
Re: pvaClientCPP Release 4.5.0 access to a single sub field that has the correct type Marty Kraimer via Tech-talk

Navigate by Date:
Prev: Re: Accessing IOC on different subnet Bhavna N. Merh via Tech-talk
Next: Re: Accessing IOC on different subnet 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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: areaDetector and GigE Prosilica GE680 Mark Rivers via Tech-talk
Next: Re: pvaClientCPP Release 4.5.0 access to a single sub field that has the correct type Marty Kraimer 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  <20192020  2021  2022  2023  2024 
ANJ, 30 Nov 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·