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