On 01/30/2018 03:13 PM, Simon Reiter wrote:
> while updating our IOC from EPICS 3.14.12.6 to 3.16.1 I discovered a
> problem with the event record.
> I use several binary output records, which listen to event number 2. If
> the corresponding event record is processed, the binary output records
> do no process. If I force them to with "dbpf <PV-NAME>.PROC 0", it works.
>
> The IOC is running on a PowerPC.
> I use
> field(SCAN, "Event")
> field(EVNT, "2")
> in the bo record.
>
> Have there been changes in the event record or shall I use a different
> way to trigger these output PVs?
I found this in the release notes for 3.15:
Named Soft Events
Soft events can now be given meaningful names instead of just using the
numbers 1-255. The EVNT field is now a DBF_STRING. The post_event() API
is now deprecated but still works. It should be replaced by code that in
advance looks up the EVNTPVT event handle associated with the named
event by calling eventNameToHandle(char *), and when that event occurs
passes that handle to the new postEvent(EVNTPVT) routine (which may be
called from interrupt level). A new iocsh command postEvent name will
trigger a named event from the command-line or a startup script (on
vxWorks the expression postEvent(eventNameToHandle("name")) must be used
instead though).
HTH
Ben
--
"Make it so they have to reboot after every typo." ― Scott Adams
Attachment:
signature.asc
Description: OpenPGP digital signature
- Replies:
- Re: Scanning on event number fails with EPICS 3.16 Simon Reiter
- References:
- Scanning on event number fails with EPICS 3.16 Simon Reiter
- Navigate by Date:
- Prev:
pvPut error message by Sequencer Simon Reiter
- Next:
Re: Scanning on event number fails with EPICS 3.16 Ralph Lange
- 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:
Re: pvPut error message by Sequencer Andrew Johnson
- Next:
Re: Scanning on event number fails with EPICS 3.16 Simon Reiter
- 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
|