event record device support broken with constant INP
Bug #1829770 reported by
Andrew Johnson
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
EPICS Base | Status tracked in 7.0 | |||||
3.15 |
Fix Released
|
Medium
|
Gabriel Fedel | |||
7.0 |
Invalid
|
Medium
|
Unassigned |
Bug Description
Eric Norum reported:
------------------ 8< -------
record(event, "$(P)$(R)reconn_") {
field(DTYP, "Soft Channel")
field(INP, "55")
field(TPRO, "1")
}
record(fanout, "$(P)$(
field(SCAN, "Event")
field(EVNT, "55")
field(TPRO, "1")
}
When the “reconn_” record is processed, niether ”reconnWFR_” nor any other record with that SCAN setup gets triggered. It’s not enough to set INP=55 in the .db file, I must explicitly set VAL for it to work.
------------------ 8< -------
The init_record() routine in devEventSoft.c (Base-3.15 branch) doesn't look right, I think it's missing a call to eventNameToHand
tags: | added: codeathon |
To post a comment you must log in.
Hello EPICS Core Developers,
I would like to investigate this bug during the codeathon, Do you think is a good one to start?
I've never worked on epics base source code.
Best Regards
Gabriel Fedel