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: Listen to multiple events |
From: | Korhonen Timo <[email protected]> |
To: | Emmanuel Mayssat <[email protected]> |
Cc: | [email protected], Dehong Zhang <[email protected]> |
Date: | Wed, 19 Mar 2008 08:59:39 +0100 |
On Tue, 2008-03-18 at 13:09 +0100, Korhonen Timo wrote:Well, there is no free lunch ;-)
set to the same number. The ai record could then look like this:
record(ai, "Test:RecordToProcessOnEvent1or2") {
field(SCAN, "Event")
field(EVNT, "1") #EVNT is the soft event number
...other ai fields here...
}
The problem with this method is that you have to keep track of the event numbers in use. I believe epics support only 256 events. If a device driver sends the same event ~number~ than the one expected by another driver, then you are toasted!