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  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: ignoring the string that was not asked for in streamdevice protocol
From: Hinko Kocevar via Tech-talk <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 11 Dec 2019 10:07:10 +0000
Hi,

I have, what may be perceived as a very "polite" device, talking to a streamdevice based IOC. With polite I mean that it sends the string

Hello. Please enter your command:

every time a telnet session is opened - opening a telnet session is what the streamdevice/asyn does as well. Nice for humans, but not so nice for my rudimentary protocol file. I wouldn't be bothered by it if the device would not close the connection after 30 seconds of inactivity. Then as the user would try to operate device, by sending some command, asyn automatically reconnects, and this nice message messes up my protocol response handling. There might be several ways to workaround this inconvenience i.e. repeat the command again and now it would be handled properly, or introduce a constant poke-the-device approach to keep the telnet session up.

Is there a way to get that message to be ignored in streamdevice protocol file?

TIA,
//hinko

Navigate by Date:
Prev: Re: pco Camera USB and IEEE interface Bradnick, Ben (Tessella, RAL, TEC) via Tech-talk
Next: New sequencer release 2.2.8 Benjamin Franksen via Tech-talk
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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Old base version bug in configure/os/CONFIG_SITE.linux-x86_64.UnixCommon Di Wang via Tech-talk
Next: New sequencer release 2.2.8 Benjamin Franksen via Tech-talk
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  <20192020  2021  2022  2023  2024 
ANJ, 11 Dec 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·