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 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 <2016> 2017 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