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: Abdalla Ahmad via Tech-talk <tech-talk at aps.anl.gov>
To: Ralph Lange <ralph.lange at gmx.de>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 1 Dec 2020 13:09:42 +0000

Yes, but for some reason the record ends up in an INVALID CALC_ALARM state. Could be that because @init should expect to read or write records?

 

Best Regards,

Abdalla.

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Ralph Lange via Tech-talk
Sent: Tuesday, December 01, 2020 1:40 PM
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: Re: Ignore a welcome message in a telnet connection using StreamDevice

 

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
Re: Ignore a welcome message in a telnet connection using StreamDevice Ralph Lange via Tech-talk

Navigate by Date:
Prev: Re: Ignore a welcome message in a telnet connection using StreamDevice Ralph Lange via Tech-talk
Next: How do I pass a macro to a CSS Phoebus screen at startup from the command line Pietryla, Tony 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: Re: Ignore a welcome message in a telnet connection using StreamDevice Ralph Lange 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, 03 Dec 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·