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: Link arrays / syntax
From: Kay-Uwe Kasemir <[email protected]>
To: [email protected]
Date: Wed, 19 Oct 2005 09:10:05 -0400

On Oct 19, 2005, at 08:44 , Marty Kraimer wrote:

processLink = [3] {
       {pvname = "incA"; wait=true},
       {pvname = "incB"; wait=true,block=true},
       {pvname = "getSample"; wait=true;}
}

The link for getSample will not be requested until both incA and incB complete. I think this is intuitive. There is a problem for separate link fields rather than an array of links. Now the order in which the fields appear in the record matter. The order can never be changed or databases will break
I still hold up my already expressed concerns:

    * The configuration has different lines  for "incA" and "incB",
while in the course of record execution they are treated the same.
??? Since this is an array of links the semantics are do link[0] then link[1], ... Thus the order is clear.

If the idea is that incA and incB should process
"in parallel", then as Ralph said, the database designer doesn't
need to know how that's done in detail.
It only matters that incA & incB are somehow processed
together, we wait for them to finish, then the next
record gets processed.
A nested, grouped syntax would express that,
where 'wait' or 'block' is always the default:

processLink =
{
       # Cause incA and incB to process
       { pvname[] = {"incA", "incB"} }
       # When they're both done, process getSample
       { pvname = "getSample"}
}

-Kay


References:
[Fwd: Re: Link arrays / syntax] Marty Kraimer
Re: [Fwd: Re: Link arrays / syntax] Benjamin Franksen
Re: [Fwd: Re: Link arrays / syntax] Marty Kraimer
Re: Link arrays / syntax Ralph Lange
Re: Link arrays / syntax Marty Kraimer

Navigate by Date:
Prev: Re: Link arrays / syntax Marty Kraimer
Next: Re: Link arrays / syntax Steve Lewis
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: Link arrays / syntax Marty Kraimer
Next: Re: Link arrays / syntax Steve Lewis
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 ·