EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  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  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: how to get the exect IOC time of event triggered
From: huangsong <[email protected]>
To: [email protected]
Date: Tue, 14 Jun 2005 14:40:24 +0800
Hello, everyone

I'm now programming using channel access client library. By CA Monitor, we can get the
event messages after we use ca_add_masked_array_event() to register on some PVs.

If there are some events triggered, we get messages which include things like:
channel name
pv values
status


But in the messages, I can't get the exact IOC time when it trigger the event. 
The event_handler_args defined like this in cadef.h:

typedef struct  event_handler_args{
        void            *usr;   /* User argument supplied when event added      */
        struct channel_in_use
                        *chid;  /* Channel id                                   */
        long            type;   /* the type of the value returned               */
        long            count;  /* the element count of the item returned       */
        READONLY void   *dbr;   /* Pointer to the value returned                */
        int             status; /* ECA_XXX Status of the requested op from server       */
}evargs;


Is there any parameter including the exect time on IOC when the event triggered?
I hope it should not be the responsibility of Event Handler routines.


Best wishes and regards,
Huang song
IHEP

                                         [email protected]
					 2005.06.06

Replies:
Re: how to get the exect IOC time of event triggered Ralph Lange

Navigate by Date:
Prev: RTEMS drivers Daron Chabot
Next: Re: how to get the exect IOC time of event triggered Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RTEMS drivers Daron Chabot
Next: Re: how to get the exect IOC time of event triggered Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·