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 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
<== Date ==> <== Thread ==>

Subject: Re: Streamdevice: wild card in InTerminator?
From: Eric Norum <eric@norum.ca>
To: "Brown, Garth" <gwbrown@slac.stanford.edu>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 15 Mar 2017 20:02:19 -0700
How about just setting the input terminator to “>” ?

On Mar 15, 2017, at 4:37 PM, Brown, Garth <gwbrown@slac.stanford.edu> wrote:

We have a 53210A frequency counter that adds "\r\n53210A> " at the end of its responses. So we specified that as the InTerminator. That worked fine until we got a 53220A. We'd like to use both of them with as little redundant code as possible. The only difference in the protocol is that 1 vs. 2 in the response. Is there a way to accommodate that small difference?
Selected lines from the protocol file:

-- 
Eric Norum
eric@norum.ca





Replies:
RE: Streamdevice: wild card in InTerminator? Mark Rivers
References:
Streamdevice: wild card in InTerminator? Brown, Garth

Navigate by Date:
Prev: Re: Streamdevice: wild card in InTerminator? Yongliang Yang
Next: RE: Streamdevice: wild card in InTerminator? Mark Rivers
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
Navigate by Thread:
Prev: Re: Streamdevice: wild card in InTerminator? Yongliang Yang
Next: RE: Streamdevice: wild card in InTerminator? Mark Rivers
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
ANJ, 15 Mar 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·