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: process multiple lines with streamdevice
From: Gerrit Kühn via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 13 Oct 2023 14:15:02 +0200
Hello,

I have a couple of devices on a bus. I can get a list of the devices and
their properties using an enumeration call. I am interested in some of
these properties and the answer line for a particular device would be easy
to parse with streamdevice. However, the answer for the whole bus consists
of several of these lines while I am only looking for one (and I know how
it starts, containing an unique device identifier).
Is there some way to do this with streamdevice or to I need a different
approach? I cannot use the recommended solution from the "Tips&Tricks"
section of the manual and use multiple IN-statements as I do neither know
how many of these there will be, nor the number of the one I am looking
for.


cu
  Gerrit

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


Replies:
Re: process multiple lines with streamdevice Zimoch Dirk via Tech-talk

Navigate by Date:
Prev: Re: DBRecord <-> PVRecord data exchange Michael Davidsaver via Tech-talk
Next: Re: process multiple lines with streamdevice Zimoch Dirk 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: creating soft channel ioc to interface with real ioc Mark Rivers via Tech-talk
Next: Re: process multiple lines with streamdevice Zimoch Dirk 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, 13 Oct 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·