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

Subject: Re: Channel Access Writes Failed on Asyn Record Writable Fields
From: Ralph Lange <Ralph.Lange@bessy.de>
To: William Lu <weiwei@jlab.org>
Cc: tech-talk@aps.anl.gov
Date: Tue, 15 Jun 2010 16:22:14 -0400
Can you change the fields locally from the ioc shell (using "dbpf")?
If yes, is Access Security enabled? Do you have write access rights? ("cainfo" on the client machine will tell you.)


Ralph


On Tue 15 Jun 2010 15:39:33 William Lu wrote:
I am having problems with channel access writes on asyn record's writable fields such AOUT and PORT. I created the following asyn tcp/ip port and the asyn record:

In a startup iocsh script:
 drvAsynIPPortConfigure("sockserv","127.0.0.1:9099",0,0,0)

The asyn record:
 record(asyn, LS450PS:asyn) {
 field(DTYP, "asynRecordDevice")
 field(PORT, "sockserv")
 field(ADDR,"0")
}

After the record has been loaded to the ioc, I cannot write the AOUT or PORT fields of the record through channel access. When I caput on those fields, I got the error messages like the following:

>caput LS450PS:asyn.AOUT "abc"
Old : LS450PS:asyn.AOUT
CA.Client.Diagnostic..............................................
Message: "Could not perform a database value put for that channel"
Severity: "Warning" Context: "detected by: devl17.acc.jlab.org:5064 for: LS450PS:asyn - with request chan=LS450PS:asyn.AOUT op=1 data type=DBR_STRING count=1"
..................................................................
New : LS450PS:asyn.AOUT


What is the problem? Any help would be gratefully appreciated.

William Lu
Jefferson Lab


Replies:
Re: Channel Access Writes Failed on Asyn Record Writable Fields William Lu
References:
Channel Access Writes Failed on Asyn Record Writable Fields William Lu

Navigate by Date:
Prev: RE: Channel Access Writes Failed on Asyn Record Writable Fields Mark Rivers
Next: Re: Channel Access Writes Failed on Asyn Record Writable Fields William Lu
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: Channel Access Writes Failed on Asyn Record Writable Fields Wesley Moore
Next: Re: Channel Access Writes Failed on Asyn Record Writable Fields William Lu
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·