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: hello world examples
From: Marty Kraimer <[email protected]>
To: EPICS Core Talk <[email protected]>
Date: Tue, 21 Jun 2005 13:10:04 -0500


Dalesio, Leo `Bob` wrote:


Put a single value from the record either synchronoursly or asynchronously or asynchronously with notification after all have been put
Does this become:

put_data
	Send		Channel ID, value
	Return	success/failure

Put_meta_data
	Send		Channel ID, property set, property_values
				property set can be
					alarm information
					display information
					control information
					any others?
	Return	success/failure

Return -
	put data to a record - program proceeeds immediately
	put data to a record - call callback when put and record processing is done
	put data to a group of records - call callback when all puts are done and record processing is done




I think that what Bob is requesting is some details about how a client makes requests and receives data. The answer "The client uses dataAccess to retrieve the data" is not sufficient.

Let me ask the question as a "hello world" request

The request is to provide examples of how typical types of data are handled.


Lets see an example of how the following two types of data are handled.

1) float64 scaler + time stamp + alarm severity

2) float64 array + display limits

It is assumed that time stamp, alarm severity, and display limits are all
have standard property IDs.

The hello world example should show code for

a) how a CA client connects,  makes a monitor request and receives the data
b) how the data is extracted from EPICS ioc records
c) how a gateway handles the request.

I would also like to see a " hello world" example of how a client can "introspect" a pvname.
That is how can a client discover what properties a pv supports and
how does the cliebt retrieve data associated with the pvname.

Assume that a propertyId has the following associated data
   float64 array
   units for x axis

Show code for

a) how the client connects, makes a monitor request, and receives data.
b) how the information is extracted from the EPICS ioc records.
c) how the gateway handles this request.


Replies:
Re: hello world examples Ralph Lange
References:
RE: Puts Dalesio, Leo `Bob`

Navigate by Date:
Prev: RE: Monitors Dalesio, Leo `Bob`
Next: Re: Monitors 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: RE: Puts Dalesio, Leo `Bob`
Next: Re: hello world examples Ralph Lange
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 ·