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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: drvAsynIPPortConfigure and I/O Intr with asynRecord possible? |
From: | Mark Rivers via Tech-talk <[email protected]> |
To: | Christoph Schroeder <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Thu, 4 Apr 2019 18:32:50 +0000 |
Whoops, that was a typo! It should be The asyn record does NOT work with SCAN=I/O Intr for TCP devices. From: Mark Rivers <[email protected]>
Hi Christophe, The asyn record does work with SCAN=I/O Intr for TCP devices. The problem is that drvAsynIPPort does not have a mechanism to do callbacks when there is new data, so asyn client needs to poll. The only
code I know of that does this is StreamDevice. However, I think you could probably do what you want with the asyn record. Rather than setting it to periodically poll (which is limited to 10 Hz) use a seq record whose link 1 processes the asyn record with
a short delay (is .01 or .001 seconds) and link 2 back to processing itself. Mark From:
[email protected] <[email protected]> on behalf of Christoph Schroeder via Tech-talk <[email protected]> Hello everyone, |