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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Increase event number limit |
From: | Dirk Zimoch <[email protected]> |
To: | [email protected] |
Cc: | [email protected] |
Date: | Fri, 15 Apr 2011 09:51:02 +0200 |
Hi Euan,That should be no problem. Of course then your database becomes incompatible with "normal" versions of EPICS base so that you need to be careful when upgrading your EPICS version or exporting your database to other EPICS users. But since the effect of the modification is limited to the IOCs, it is compatible with any EPICS version on other IOCs and any client software.
The maximum number is 32768 because the EVNT field is a DBF_SHORT.You may also be interested in my code to use strings instead of numbers for soft events from the codeathlon 2010. Unfortunately it didn't make it into 3.14.12.
https://code.launchpad.net/~dirk.zimoch/epics-base/named-soft-events/+merge/39472 Best regards, Dirk [email protected] wrote:
Hi,
In the EPICS applications developers guide the following is presented:
17.4.2 Event Scanning
Event scanning is built around the following definitions:
#define MAX_EVENTS 256
typedef struct event_scan_list {
CALLBACK callback;
scan_list scan_list;
} event_scan_list;
static event_scan_list
*pevent_list[NUM_CALLBACK_PRIORITIES][MAX_EVENTS];
Is it possible to increase the MAX_NUMBER definition to enable more event numbers to be used in a linux soft IOC?
cheers,
Euan.
--
Euan Troup CSIRO Astronomy & Space Science +61 2 9372 4660
[email protected]<mailto:[email protected]>