EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  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  <20132014  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


Replies:
Re: Strange Interaction between CA gateway and CAJ Andrew Johnson

Navigate by Date:
Prev: Re: Building an Epics module only for a target (not host) Michael Davidsaver
Next: RE: JCA Error Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: JCA Error Lucas José
Next: Re: Strange Interaction between CA gateway and CAJ Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·