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: | Strange Interaction between CA gateway and CAJ |
From: | "Carr, Gary" <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Thu, 28 Feb 2013 17:13:53 +0000 |
I have an application that needs to monitor changes in the NORD field of a waveform record. Since we are running Channel Access 3.14.11, I cannot get a monitor on the field, so I use a simple “get” to poll the field in Java. Basically: Channel ic = context.createChannel(“pvname.NORD”); context.pendIO(timeout); … int val = ((INT) ic.get(DBRType.INT,1)).getValue(); context.pendIO(timeout); Using jca context this works fine either reading thechannel directly, or through a CA gateway. If I use a caj context in the same code, it works fine reading the channel directly, but if I read through a CA gateway I never see the NORD field change when the waveform processes. We are using channel access 3.14.11 CA gateway 2.0.4.0 CAJ 1.1.5b |