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  2019  2020  2021  2022  <20232024  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  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: process multiple lines with streamdevice
From: Gerrit Kühn via Tech-talk <tech-talk at aps.anl.gov>
To: Zimoch Dirk <dirk.zimoch at psi.ch>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 13 Oct 2023 16:13:18 +0200
Am Fri, 13 Oct 2023 13:29:17 +0000
schrieb Zimoch Dirk <dirk.zimoch at psi.ch>:


> Two things to keep in mind:
> 1. Once %/regex/ has skipped something, there is no way back. Thus if
> you have multiple of those in one protocol, the order must stay fixed.

Yes, that will be the case. Right now, I just try to get this to work at
all, so I only try to match one of the pairs for starters. Once this works,
the others should hopefully be easy to add.

> 2. Any unread line after the one used will cause an error unless you set
> ExtraInput=ignore in this protocol. (Normally I discourage people to use
> that.)

Right now I do exactly that, just to make it easier to get things working.
Later it should be possible to match for the last setting (which should be
identical for all entries) just to finish in a tidy way.


cu
  Gerrit

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


Replies:
RE: [EXTERNAL] Re: process multiple lines with streamdevice Baily, Scott A via Tech-talk
Re: process multiple lines with streamdevice Gerrit Kühn via Tech-talk
References:
process multiple lines with streamdevice Gerrit Kühn via Tech-talk
Re: process multiple lines with streamdevice Zimoch Dirk via Tech-talk
Re: process multiple lines with streamdevice Gerrit Kühn via Tech-talk
Re: process multiple lines with streamdevice Zimoch Dirk via Tech-talk

Navigate by Date:
Prev: Re: process multiple lines with streamdevice Zimoch Dirk via Tech-talk
Next: Re: DBRecord <-> PVRecord data exchange Veseli, Sinisa 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  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: process multiple lines with streamdevice Zimoch Dirk via Tech-talk
Next: RE: [EXTERNAL] Re: process multiple lines with streamdevice Baily, Scott A 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  2019  2020  2021  2022  <20232024 
ANJ, 03 Nov 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·