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  <20102011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: streamDevice trick for in with or without value
From: emmanuel_mayssat@lynceantech.com
To: EPICS tech-talk <tech-talk@aps.anl.gov>
Date: Tue, 1 Jun 2010 21:34:27 -0700
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,

-- 
Emmanuel

Replies:
Re: streamDevice trick for in with or without value emmanuel_mayssat
Re: streamDevice trick for in with or without value Dirk Zimoch

Navigate by Date:
Prev: Multiline input to drvAscii? Maren Purves
Next: Re: streamDevice trick for in with or without value emmanuel_mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: Multiline input to drvAscii? Maren Purves
Next: Re: streamDevice trick for in with or without value emmanuel_mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·