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  2019  <20202021  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Ignore a welcome message in a telnet connection using StreamDevice
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Tue, 1 Dec 2020 12:39:56 +0100
On Tue, 1 Dec 2020 at 10:06, Abdalla Ahmad via Tech-talk <tech-talk at aps.anl.gov> wrote:

 

I am working on an IOC for a device that has its control interface through telnet. The problem is there is a welcome message that appears once every time I connect to the device using any telnet interface. The welcome message is in this form:

 

Hello world command shell

Type ‘?’ for help

> 

 

And then I have to send “scpi>” in order to start the SCPI mode. Is it possible to ignore this one-time message and send “scpi>” just once in StreamDevice?


Have you tried a global @init handler? 
The documentation [1] seems to suggest that this could work.

Cheers,
~Ralph



Replies:
RE: Ignore a welcome message in a telnet connection using StreamDevice Abdalla Ahmad via Tech-talk
References:
Ignore a welcome message in a telnet connection using StreamDevice Abdalla Ahmad via Tech-talk

Navigate by Date:
Prev: RE:RE:Alarm indicator in CSS Donny Domagoj Cosic via Tech-talk
Next: RE: Ignore a welcome message in a telnet connection using StreamDevice Abdalla Ahmad 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  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Ignore a welcome message in a telnet connection using StreamDevice Abdalla Ahmad via Tech-talk
Next: RE: Ignore a welcome message in a telnet connection using StreamDevice Abdalla Ahmad 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  2019  <20202021  2022  2023  2024 
ANJ, 01 Dec 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·