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  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: stream Device I/O error
From: Dirk Zimoch <[email protected]>
To: <[email protected]>
Date: Thu, 28 Apr 2016 11:55:07 +0200


On 28.04.2016 03:40, Gofron, Kazimierz wrote:
For method C, discussed here:http://epics.web.psi.ch/software/streamdevice/doc/tipsandtricks.html
only up to 4 PVs can be read with streamDevice, otherwise "Forgot the leading '@' or confused INP with OUT" somewhat misleading message appears.

This happens when the link string is too long. It can have only 78 chars (80 including @ and terminating null byte). This is a limitiation of EPICS. Maybe I should add "or the link string is too long" to the error message. StreamDevice sees only an empty string if that happens.

When using multiple redirects, do not try to pass the full names of 9 records to StreamDevice. This is likely to overflow the INP string. Pass only the common prefix as "\$1" and have the rest of the names coded in the protocol file.

Dirk

Replies:
Re: stream Device I/O error Michael Davidsaver
References:
stream Device I/O error Gofron, Kazimierz

Navigate by Date:
Prev: Re: Re: stream Device I/O error Zhang Yuliang
Next: Re: EPICS 3.14.12.3 Build Problems with the new Ubuntu 16.04 LTS Marty Kraimer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: stream Device I/O error Gofron, Kazimierz
Next: Re: stream Device I/O error Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·