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  <20122013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Epics gateway writeNotify issue
From: "Provenzano Matteo" <matteo.provenzano@psi.ch>
To: <tech-talk@aps.anl.gov>
Date: Thu, 1 Mar 2012 10:09:22 +0100

Hello everybody,

 

I recompiled the epics gateway with the base.3.14.12. Now if I try to execute a writeNotify I always get the following error in the log file:

 

Virtual gateVcData::write called for <channel name>

   This is an error!

 

I searched for the source of this error and I found it in the file gateVc.cc (gateway/):

 

// This is the virtual write function defined in casPV.  It should no

// longer be called if casChannel::write is implemented.

caStatus gateVcData::write(const casCtx& ctx, const gdd& dd)

{

        fprintf(stderr,"Virtual gateVcData::write called for %s.\n"

          "  This is an error!\n",name());

        return S_casApp_noSupport;

}

 

This function is actually called by this piece of code in casPV.cc (which is in

epics base/):

 

//

// casPV::writeNotify()

//

caStatus casPV :: writeNotify (

    const casCtx & ctx, const gdd & val )

{

    // plumbed this way to preserve backwards

    // compatibility with the old interface which

    // did not include a writeNotify interface

        return this->write ( ctx, val );

}

 

With the epics base.3.14.8 there was no problem.

 

Has anyone idea how to solve this problem?

 

Thank you for your help,

 

Cheers,

 

Matteo


Replies:
RE: Epics gateway writeNotify issue Hill, Jeffrey O

Navigate by Date:
Prev: Re: QT-based tools: Expressions of interest requested Emmanuel Mayssat
Next: Re: Announce: sequencer release 2.1.5 Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: Announce: sequencer release 2.1.5 Benjamin Franksen
Next: RE: Epics gateway writeNotify issue Hill, Jeffrey O
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·