Could you send a report of the records involved in this problem?
-----Original Message-----
From: [email protected] on behalf of Dehong Zhang
Sent: Sat 8/9/2008 7:24 PM
To: Tim Mooney
Cc: [email protected]
Subject: Re: Loosing half the monitor callbacks
Hi Tim,
Thank you!
Inside db_post_single_event, somehow it gets into the wrong 'if' block every the
other time. Please spare a few minutes to check it.
Best regards,
Dehong
----- Original Message -----
From: Tim Mooney <[email protected]>
Date: Saturday, August 9, 2008 11:17 am
Subject: Re: Loosing half the monitor callbacks
To: Dehong Zhang <[email protected]>
Cc: [email protected], [email protected]
> Dehong,
> I think this shows that the problem is not in channel access, but in the
> database or lower. You're not losing monitor callbacks, the record is
> posting the same value twice, with the same time stamp. You can get
> another clue to what this means by looking at the record-support code,
> and finding calls to recGblGetTimeStamp() and calls to db_post_events()
> for the CTME field.
>
> Dehong Zhang wrote:
> > Hi Friends Kay, Mark and Mohan,
> >
> > Thank you very much for the advices.
> >
> > I just tried camonitor. It is doing the same thing: throw away
> every the other
> > change, but callback two times for the other ones. The printout is
> like:
> >
> > fastTimeTest.CTME 2008-08-08 16:46:02.609123
> 6.88202e+06
> > fastTimeTest.CTME 2008-08-08 16:46:02.859123
> 7.38478e+06
> > fastTimeTest.CTME 2008-08-08 16:46:02.859123
> 7.38478e+06
> > fastTimeTest.CTME 2008-08-08 16:46:03.259123
> 8.01506e+06
> > fastTimeTest.CTME 2008-08-08 16:46:03.259123
> 8.01506e+06
> > fastTimeTest.CTME 2008-08-08 16:46:03.659123 137329
> > fastTimeTest.CTME 2008-08-08 16:46:03.659123 137329
> > fastTimeTest.CTME 2008-08-08 16:46:04.059123 817524
> > fastTimeTest.CTME 2008-08-08 16:46:04.059123 817524
> >
> > Does the record update time stamps tell anything? Am I running too
> fast?
> >
> > Thank you again. Best regards,
> > Dehong
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: Mohan Ramanathan <[email protected]>
> > Date: Friday, August 8, 2008 4:43 pm
> > Subject: RE: Loosing half the monitor callbacks
> > To: Dehong Zhang <[email protected]>, [email protected]
> >
> >
> >> Hi
> >> Try to set the TPRO field in the IOC to see that it is indeed
> >> processing every time
> >>
> >> Mohan
> >>
> >> ----------------------------------------------------------------
> >> Mohan Ramanathan ([email protected])
> >> Senior Beamline Engineer, Advanced Photon Source
> >> Argonne National Laboratory, Argonne, IL 60439
> >> (630)-252-3773/ (630)-822-5625(Cell)
> >> ----------------------------------------------------------------
> >>
> >> [Message delivered by NotifyLink]
> >>
> >> ----------Original Message----------
> >>
> >> From: Dehong Zhang <[email protected]>
> >> Sent: Fri, August 08, 2008 4:30 PM
> >> To: [email protected]
> >> Subject: Loosing half the monitor callbacks
> >>
> >>
> >> Hi,
> >>
> >> I would like to monitor a PV at 5 Hz. Somehow I do get 5 callbacks
>
> >> every seconds
> >> but only get the changes every the other time, like getting changes
>
> >> 1st, 3rd, 5th ...
> >> two times, but never get changes 2nd, 4th, ...
> >>
> >> Could you please enlighten me?
> >>
> >> Thanks and best regards,
> >> Dehong
> >>
>
> --
> Tim Mooney ([email protected]) (630)252-5417
> Beamline Controls & Data Acquisition Group
> Advanced Photon Source, Argonne National Lab.
- References:
- RE: Loosing half the monitor callbacks Mohan Ramanathan
- Re: RE: Loosing half the monitor callbacks Dehong Zhang
- Re: Loosing half the monitor callbacks Tim Mooney
- Re: Loosing half the monitor callbacks Dehong Zhang
- Navigate by Date:
- Prev:
Re: Loosing half the monitor callbacks Dehong Zhang
- Next:
Re: Loosing half the monitor callbacks Dehong Zhang
- 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: Loosing half the monitor callbacks Dehong Zhang
- Next:
Re: Loosing half the monitor callbacks Dehong Zhang
- 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
|