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  <20132014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: asyn+streamDevice hangs with synchronousLock:Yes
From: "Brian McAllister" <mcallister@mit.edu>
To: tech-talk@aps.anl.gov
Date: Mon, 01 Jul 2013 16:56:13 -0400
I'm using Asyn 4-21 and StreamDevice 2-6, working with a device that uses
serial I/O to send a periodic, unsolicited string which does not have a
terminating character.

The string contains 3 data fields, so I have 3 records using the same INP,
all set to I/O Event scanning.

It works for a few minutes after starting the IOC, but eventually it gets
stuck.  The records stop updating and "Characters read" from asynReport
stops increasing.  Packet inspection with Wireshark shows that the device
is still sending data.

After this happens, the "synchronousLock" field in asynReport is always
"Yes".

istCooling> asynReport 2 HX86PA
HX86PA multiDevice:No canBlock:Yes autoConnect:Yes
    enabled:Yes connected:Yes numberConnects 1
    nDevices 0 nQueued 0 blocked:No
    asynManagerLock:No synchronousLock:Yes
    exceptionActive:No exceptionUsers 0 exceptionNotifys 0
    interposeInterfaceList
        asynOctet pinterface 0x8198120 drvPvt 0x82d2608
    interfaceList
        asynCommon pinterface 0x8192e10 drvPvt 0x82d3ad0
        asynOctet pinterface 0x82d3b20 drvPvt 0x82d3ad0
    Port 172.18.0.13:2000 TCP: Connected
                    fd: 8
    Characters written: 0
       Characters read: 3366



Is there a document that shows how to use asynTrace effectively ?  The
asynDriver and asynRecord docs don't explain very much about it.

----
Brian McAllister                                   Senior Software Engineer
mcallister@mit.edu                                                Bates Lab
(617) 253-9537                                                Middleton, MA

Replies:
RE: asyn+streamDevice hangs with synchronousLock:Yes Mark Rivers

Navigate by Date:
Prev: Re: querying for sets of pvs in archived data pthomas
Next: Re: querying for sets of pvs in archived data Robert Soliday
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: ChanneIRPC never connected White, Greg
Next: RE: asyn+streamDevice hangs with synchronousLock:Yes Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·