Where is your source code?
On 10.11.2013 11:46, Gibbs, Matt wrote:
Hi everyone,
I’m trying to write a Channel Access client interface to node.js using libca, and I am running into a puzzling issue.
I have a simple test script where I create a channel, then create a new subscription, and pass in an event callback function which just prints the current value of the PV to the terminal. Most of the time, this works great, but maybe 20% of the time, I get two updates, then nothing else for the duration of the program. This is always using the same code, with the same PV. If I run ‘camonitor’ on the PV repeatedly, I never see the same problem.
I don’t get any exception messages, and the rest of the script doesn’t crash or halt, so it seems like the event callback just stops getting called.
Any ideas about what might be happening, or things I can do to further debug this?
Thanks!
—Matt
- References:
- Subscription updates halting? Gibbs, Matt
- Navigate by Date:
- Prev:
RE: BEAUTY Archiver and data from Area detector ulrik.pedersen
- Next:
Re: Error while opening OPI Kasemir, Kay
- 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:
Subscription updates halting? Gibbs, Matt
- Next:
Re: Subscription updates halting? Andrew Johnson
- 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
|