Experimental Physics and Industrial Control System
|
I added another record to the database and it seems the global init handler is called for each record. StreamDevice should work because the command interface
is very simple, only this welcome message. I might try asynPortDriver meanwhile.
Best Regards,
Abdalla.
From: Abdalla Ahmad
Sent: Tuesday, December 01, 2020 3:10 PM
To: Ralph Lange <ralph.lange at gmx.de>; tech-talk at aps.anl.gov
Subject: RE: Ignore a welcome message in a telnet connection using StreamDevice
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
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.
|
- 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
- RE: Ignore a welcome message in a telnet connection using StreamDevice Abdalla Ahmad via Tech-talk
- Navigate by Date:
- Prev:
Re: EPICS support for Harvard Pump 33 DDS Syringe Pump Li, Ji via Tech-talk
- Next:
RE: Epics Archiver not pushing to STS? Shankar, Murali 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
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Ignore a welcome message in a telnet connection using StreamDevice Abdalla Ahmad 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
<2020>
2021
2022
2023
2024
|
ANJ, 03 Dec 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|