Hi Dehong,
> Can one EPICS record listen to more than one event? If yes, how could set it up?
Do you mean can one record be processed on different events? If that is what you mean, then you could FLNK to the record from both event records. For instance, if I have 2 EVR event records (for EVR card 0), I could FLNK to the same record from both of them like this:
record(event, "Test:Event1") {
field(DTYP, "MRF Event Receiver")
field(INP, "#C0 S1 @")
field(SCAN, "I/O Intr")
field(VAL, "1")
field(FLNK, "Test:RecordToProcessOnEvent1or2")
}
record(event, "Test:Event2") {
field(DTYP, "MRF Event Receiver")
field(INP, "#C0 S2 @")
field(SCAN, "I/O Intr")
field(VAL, "2")
field(FLNK, "Test:RecordToProcessOnEvent1or2")
}
record(ai, "Test:RecordToProcessOnEvent1or2") {
field(SCAN, "Passive")
...other ai fields here...
}
Stephanie Allison
- Replies:
- Re: Listen to multiple events Korhonen Timo
- References:
- Listen to multiple events Dehong Zhang
- Navigate by Date:
- Prev:
Listen to multiple events Dehong Zhang
- Next:
EDM cursors. Terry Carlino
- 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
- Navigate by Thread:
- Prev:
Listen to multiple events Dehong Zhang
- Next:
Re: Listen to multiple events Korhonen Timo
- 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
|