EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: dataAccess V4 Ca client propertyId questions
From: Kay-Uwe Kasemir <[email protected]>
To: EPICS Core Talk <[email protected]>
Date: Mon, 27 Jun 2005 15:03:19 -0400
On Jun 27, 2005, at 12:02, Marty Kraimer wrote:
Can it ask for a list of properrtyIds?
...
Given a list of propertyIds how does it obtain the information associated with each id?
The V4 "client user interface" suggests these in the "DataAccess" interface:
 	 list<string> getProperties()       Get a list of all the properties
 	 type_info getType(string property)
 	 string getAsString(string property)

Ca accepts a request to get data associated with a propertyId. Instead of putting it into a caller provided container via the caller supplied propertyCatalog, CA would make the data available via the caller supplied dataViewer.
We pretend that the CA client library & data access doesn't hold the data,
but only presents an interface for the user to copy the data into a
user-provided container.
Well, while you use dataAccess, the CA client library actually holds
the data in some temporary network buffer.
So you don't need a container at all if you only want to get a list
of all the properties & types.

 Does the proposed CA V4 interface allow this?
Yes, Jeff proposes a channel::createAllPropertiesReadRequest.
Does that cover your idea for a simply 'probe'- type application?

     createAllPropertiesReadRequest
     ...
     foreach p ( da->getProperties() )
     {
         display da->getType(p), da->getAsString(p)
     }

... or would you also like to see a request that only
gets the properties and types, without fetching any actual values?

-Kay


Replies:
Re: dataAccess V4 Ca client propertyId questions Marty Kraimer
Re: dataAccess V4 Ca client propertyId questions Ralph Lange
Re: dataAccess V4 Ca client propertyId questions Marty Kraimer
References:
dataAccess V4 Ca client propertyId questions Marty Kraimer

Navigate by Date:
Prev: connections, beacons, ...: Only directory and TCP? Kay-Uwe Kasemir
Next: Re: dataAccess V4 Ca client propertyId questions Kay-Uwe Kasemir
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: dataAccess V4 Ca client propertyId questions Marty Kraimer
Next: Re: dataAccess V4 Ca client propertyId questions Marty Kraimer
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·