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: streamDevice trick for in with or without value |
From: | Dirk Zimoch <[email protected]> |
To: | EPICS tech-talk <[email protected]> |
Date: | Fri, 04 Jun 2010 13:34:24 +0200 |
I am using stream. I have a serial device whose query/reply follow thisi pattern:
out "get value" in "F: W: IK:" If values are 0
If values are not 0, I have out "get value" in "F: 12 W: IK:" <- value is 12
Is there a way to make this value conditional in stream? With the current protocol, I have a mismatch and my record becomes invalid (and stop processing).
1/ How can I make the protocol work? 2/ Assuming that there is a mismatch, how can I restore my record to "valid" status?
thanks,