Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: RE: asyn problem
From: tanushyam bhattacharjee <gettanu@yahoo.co.in>
To: tech-talk@aps.anl.gov, Mark Rivers <rivers@cars.uchicago.edu>
Date: Fri, 13 Nov 2009 14:56:57 +0530 (IST)
The report(asynReport 10,“L16”) is as follows:

synchronouslock=NO when working properly

ynchronouslock=YES when  not working. other things are as it is except readcount(character)

how can I fix it?

tanushyam

--- On Thu, 12/11/09, Mark Rivers <rivers@cars.uchicago.edu> wrote:

From: Mark Rivers <rivers@cars.uchicago.edu>
Subject: RE: asyn problem
To: "tanushyam bhattacharjee" <gettanu@yahoo.co.in>, tech-talk@aps.anl.gov
Date: Thursday, 12 November, 2009, 9:42 PM

When it stops working, what do you see?

 

Here are some things to try:

 

- When it stops working, issue the following command:

 

asynReport 10,“L16”

 

This asks for a detailed report on the state of that asyn port.

 

Next, issue the following commands:

 

asynSetTraceIOMask “L16”,0,2

 

That enables TraceEscape output, printing ASCII plus escape sequences.

 

asynSetTraceMask “L16”,0,255

 

That turns on all trace output for your asyn port on address 0.  If you are using other addresses you might need to issue commands like:

 

asynSetTraceMask “L16”,2,255

 

for address 2, etc.

 

This should tell you if you are getting disconnected from the terminal server (TCP/IP disconnect) or if the device is sending garbage, etc.

 

Mark

 

 

 

 


From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of tanushyam bhattacharjee
Sent: Thursday, November 12, 2009 9:51 AM
To: tech-talk@aps.anl.gov
Subject: Fw: asyn problem

 



--- On Thu, 12/11/09, tanushyam bhattacharjee <gettanu@yahoo.co.in> wrote:


From: tanushyam bhattacharjee <gettanu@yahoo.co.in>
Subject: asyn problem
To: tech-talk@aps.anl.gov
Date: Thursday, 12 November, 2009, 8:18 PM

I am using  ‘asyn’ to communicate with a custom made device using ‘HowTodoSerial’ concept where CommonGpib functions are used.

 

The device continuously sends data if a knob, attached to it, rotates and does not send anything otherwise.

 

The IOC is working properly as long as the knob rotates but stops working after some time when there is a long gap.The device is connected through a Serial to Ethernet Converter by

drvAsynIPPortConfigure("L16","192.168.0.10:10003",0,0,0)

 in st.cmd file.

 

TIME_WINDOW=1000

Asyn version=4-4

Base= base-14.8.2

 

Is it a time out problem? Is it disconnecting from device after timeout?

 

Additionally I also want to know how can I flush a particular serial buffer in this program?Is flushbuffer function is available here?

tanushyam

 


Now, send attachments up to 25MB with Yahoo! India Mail. Learn how.




Keep up with people you care about with Yahoo! India Mail. Learn how.



Keep up with people you care about with Yahoo! India Mail. Learn how.
Replies:
Re: asyn problem Eric Norum
References:
RE: asyn problem Mark Rivers

Navigate by Date:
Prev: RE: asyn problem Mark Rivers
Next: Re: asyn problem Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: RE: asyn problem Mark Rivers
Next: Re: asyn problem Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·