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  <20182019  2020  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: StreamDevice with Telnet port
From: Mark Rivers <[email protected]>
To: "Abdalla Ahmad" <[email protected]>, "[email protected]" <[email protected]>
Date: Sun, 11 Mar 2018 13:15:14 +0000
Hi Abdalla,


You should capture the communications stream between the IOC and the controller using asynTrace.  Type the following commands at the IOC prompt or put them in your startup script.  Replace PORT with the name of the drvAsynIPPort.


asynSetTraceIOMask PORT 0 2

asynSetTraceMask PORT 0 9


If it takes a long time to fail then you might want to send the output to a file

asynSetTraceFile PORT 0 filename


That trace should tell you if there was some miscommunication before the pressure PV comes back wrong.


Mark


________________________________
From: [email protected] <[email protected]> on behalf of Abdalla Ahmad <[email protected]>
Sent: Sunday, March 11, 2018 7:54 AM
To: [email protected]
Subject: StreamDevice with Telnet port


Hi



We have the Gamma QPC ion-pump controllers controlled via StreamDevice through telnet, port 23. We have 4 parameters implemented, pressure, voltage, current, and channel status. The problem is that the IOC gives an error that the value received for the pressure PV is "Running", i.e. "Input Running does not match format %E". Seems like at some point the controller is not finishing a previous parameter and the IOC receives something different than the current parameter requested.



We have the following in the protocol file:



OutTerminator = CR;

InTerminator = CR;

ReadTimeout = 2000;

ReplyTimeout = 2000;



And each parameter in the protocol file has ExtraInput = Ignore at the end. Any help resolving this mismatching issue?



Best Regards,



Abdalla Ahmad

Control Engineer

SESAME

Allan, Jordan.

Tel: (+962-5) 3511348 , ext. 265

Fax: (+962-5) 3511423

Mob: (+962-7)88183296

www.sesame.org.jo<http://www.sesame.org.jo/>



Replies:
RE: StreamDevice with Telnet port Abdalla Ahmad
References:
StreamDevice with Telnet port Abdalla Ahmad

Navigate by Date:
Prev: StreamDevice with Telnet port Abdalla Ahmad
Next: RE: StreamDevice with Telnet port Abdalla Ahmad
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: StreamDevice with Telnet port Abdalla Ahmad
Next: RE: StreamDevice with Telnet port Abdalla Ahmad
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 12 Mar 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·