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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Problem with streamDevice and I/O Intr
From: Florian Feldbauer <[email protected]>
To: [email protected]
Date: Thu, 5 Aug 2010 14:32:56 +0200 (CEST)
Hello all,

I ran into a problem when reading from a serial device using I/O Intr
processing with streamDevice. I receive 64 messages in series and have
one record for each message.
Now and then  I get the error message from epics:

timerQueue INTERNAL ERROR (PANDA:FEMC:PROTO192:THMP:680:CHK:00): timerExpired() unexpected ioAction None

Any idea how to fix this problem?

This is the db:
record (scalcout, "THMP:$(ID):CHK:$(no)")
{
  field (DTYP, "stream")
  field (SCAN, "I/O Intr")
  field (CALC, "((K XOR L) XOR C)==E?(K<<8)+L:LL")
  field (OUT,  "@THMP.proto getMsg($(no)) USBCAN1")
  field (INPC, "$(no)")
  field (INLL, "INV CHK")
}

This is the protocol:
Terminator = CR;
getMsg{
  in "t6804\${2}%(K)2X%(L)2X%(E)2X";
}

This is an example string, which is sent from the device:
t68043F34AAA1\r

Best regards
Florian

Replies:
Re: Problem with streamDevice and I/O Intr Dirk Zimoch

Navigate by Date:
Prev: CSS/BOY macro substitution problem PaweÅ PrÄdki
Next: RE: CSS/BOY macro substitution problem Chen, Xihui
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: CSS/BOY macro substitution problem Chen, Xihui
Next: Re: Problem with streamDevice and I/O Intr Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·