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  <20092010  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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: When an external device does not provide termination on TCP ASCII stream replies
From: "Allison, Stephanie" <[email protected]>
To: "Epics Questions" <[email protected]>
Date: Tue, 14 Jul 2009 09:58:13 -0700
Hello,

We're testing a Genesys power supply (provided by Lambda-TDK) to which the vendor has added a TCP interface (I believe specifically by request of EPICS sites).  Burkhard Kolb at GSI provided me the protocol file for stream/asyn support for this type of device (thanks!).  However, the firmware has changed recently and one change is to remove the terminator from the reply strings.  Some replies are fixed-length so I can change the protocol file for these (to use maxInput).  However some replies are not fixed-length and I need to find support for those - I do not want to rely on a timeout to know that the reply is finished.  The vendor has suggested that (1) I assume the reply will never get fragmented and just allocate 100 bytes and take whatever I get and (2) block on the receive (which is not an option for an IOC).

Does anybody have experience with such devices (TCP ASCII SCPI commands that have no reply terminators and no fixed-length reply strings) and can recommend a solution?

Thank you,
Stephanie Allison
SLAC National Accelerator Lab


Replies:
RE: When an external device does not provide termination on TCP ASCIIstream replies Mark Rivers

Navigate by Date:
Prev: Agilent E2050 Szalata, Zenon M.
Next: RE: When an external device does not provide termination on TCP ASCIIstream replies Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Agilent E2050 Benjamin Franksen
Next: RE: When an external device does not provide termination on TCP ASCIIstream replies Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·