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

Subject: Re: I'm looking for a pvacces example to read PVStructure
From: Michael Davidsaver via Tech-talk <tech-talk@aps.anl.gov>
To: Heinz Junkes <junkes@fhi-berlin.mpg.de>
Cc: tech-talk <tech-talk@aps.anl.gov>
Date: Mon, 11 Mar 2019 09:59:08 -0700
On 3/11/19 9:41 AM, Heinz Junkes via Tech-talk wrote:
> I'm looking for a pva example c++ program which I can currently use (with Epics 7).
> 
> Unfortunately the examples I've found on the net don't work at all.

Which examples do you mean?  Broken examples are worse than none at all,
and should be fixed or removed.

> Above all, there seems to be a little confusion between PVAClient and pvac? (Or I don't get it)

Two different "high level" interfaces to a PVA client.

My examples for PVAC (which I hope aren't broken) are:

http://epics-base.github.io/pvAccessCPP/

> I have a client that wants to read the PVStructure of a PV and then put new data  into 
> NTTable vector fields (x, y, z and time_index):

By read do you mean subscribe with Monitor, or poll with Get?

> humma-kavula:~ junkes$ pvlist 0xB9EC6A5C00000000C2AFA421
> CRYVISIL:STM:FASTSCAN:IMAGE_CHUNK
> 
> humma-kavula:~ junkes$ pvinfo CRYVISIL:STM:FASTSCAN:IMAGE_CHUNK
> CHANNEL  : CRYVISIL:STM:FASTSCAN:IMAGE_CHUNK
> STATE    : CONNECTED
> ADDRESS  : 141.14.133.59:53379
> epics:nt/NTTable:1.0
>     string[] labels
>     structure value
>         double[] x
>         double[] y
>         double[] z
>         int[] time_index
>     string descriptor
>     alarm_t alarm
>         int severity
>         int status
>         string message
>     time_t timeStamp
>         long secondsPastEpoch
>         int nanoseconds
>         int userTag
>     int counter
> 


References:
I'm looking for a pvacces example to read PVStructure Heinz Junkes via Tech-talk

Navigate by Date:
Prev: I'm looking for a pvacces example to read PVStructure Heinz Junkes via Tech-talk
Next: Re: generalTime/epicsTimeGetCurrent and casr questions Michael Davidsaver 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 
Navigate by Thread:
Prev: I'm looking for a pvacces example to read PVStructure Heinz Junkes via Tech-talk
Next: Re: I'm looking for a pvacces example to read PVStructure will.rogers--- 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 
ANJ, 12 Mar 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·