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: "Mark Rivers" <rivers@cars.uchicago.edu>
To: "William Lu" <weiwei@jlab.org>, "Ralph Lange" <Ralph.Lange@bessy.de>
Cc: tech-talk@aps.anl.gov
Date: Wed, 16 Jun 2010 08:49:24 -0500
Something is wrong, that should work fine.  Here's what I get on a record connected to a VXI11 driver:
 
epics> dbpf asynRecord.AOUT "test"
DBR_STRING:          "test"   
epics> dbpr asynRecord 10
ACKS: NO_ALARM      ACKT: YES           ACMD: None          ADDR: 3             
AINP: +1.0071E+21
 AOUT: test          AQR: 0              ASG:                
ASP: (nil)          AUCT: autoConnect   BAUD: Unknown       BINP: 0             
BKPT: 00            BOUT: 0             CNCT: Connect       DBIT: Unknown       
DESC:               DISA: 0             DISP: 0             DISS: NO_ALARM      
DISV: 1             DPVT: 0x8acb750     DRVINFO:            DSET: 0x163908      
DTYP: asynRecordDevice                  ENBL: Enable        EOMR: End           
ERRS: 0x8acba58     EVNT: 0             F64INP: 0           F64IV: 0            
F64OUT: 0           FCTL: Unknown       FLNK:CONSTANT 0     GPIBIV: 1           
I32INP: 0           I32IV: 1            I32OUT: 0           IEOS:               
IFACE: asynOctet    IFMT: ASCII         IMAX: 200           IPTR: 0x8acb958     
LCNT: 0             LSET: 0x8aced90     MCTL: Unknown       
MLIS: 88 fb b0 08 d8 f6 b0 08 1f 00 00 00                   MLOK: 38 b7 ac 08   
NAME: asynRecord    NAWT: 4             NORD: 13            NOWT: 80            
NRRD: 0             NSEV: NO_ALARM      NSTA: NO_ALARM      OCTETIV: 1          
OEOS:               OFMT: ASCII         OMAX: 40            OPTIONIV: 1         
OPTR: 0x8acb928     PACT: 0             PCNCT: Connect      PHAS: 0             
PINI: NO            PORT: L0            PPN: (nil)          PPNR: (nil)         
PRIO: LOW           PROC: 0             PRTY: Unknown       PUTF: 0             
RDES: 0x8aa8db0     REASON: 0           RPRO: 0             RSET: 0x1638c0      
SBIT: Unknown       SCAN: Passive       SDIS:CONSTANT       SEVR: NO_ALARM      
SOCK:               SPR: 0              SPVT: (nil)         STAT: NO_ALARM      
TB0: On             TB1: Off            TB2: Off            TB3: Off            
TB4: Off            TFIL: Unknown       TIB0: Off           TIB1: Off           
TIB2: Off           TIME: 2010-06-16 08:48:57.406695215     
TINP: +1.0071E+21\r\n                   TIOM: 0             TMOD: Write/Read    
TMOT: 1             TMSK: 1             TPRO: 0             TSE: 0              
TSEL:CONSTANT       TSIZ: 80            UCMD: None          UDF: 0              
UI32INP: 0          UI32IV: 0           UI32MASK: 4294967295                    
UI32OUT: 0          VAL:                

Please send the complete output of the following 2 commands:
 
dbpr LS450PS:asyn 10
 
asynReport 10 sockserv
 

________________________________

From: tech-talk-bounces@aps.anl.gov on behalf of William Lu
Sent: Tue 6/15/2010 4:46 PM
To: Ralph Lange
Cc: tech-talk@aps.anl.gov
Subject: Re: Channel Access Writes Failed on Asyn Record Writable Fields



The dbpf does not work.  It gives the error message as below:

epics> dbpf LS450PS:asyn.AOUT abc
filename="../dbTest.c" line number=295
putFields are disabled - dbPutField error

Thanks,
William Lu

Ralph Lange wrote:
> 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
>>

--
Weiwei Lu
757-269-7476
weiwei@jlab.org





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
Re: Channel Access Writes Failed on Asyn Record Writable Fields Ralph Lange
Re: 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 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 
Navigate by Thread:
Prev: Re: Channel Access Writes Failed on Asyn Record Writable Fields William Lu
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 ·