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

Subject: RE: asyn R4.12 and streamdevice R2.4
From: "Szalata, Zenon M." <zms@slac.stanford.edu>
To: "'Mark Rivers'" <rivers@cars.uchicago.edu>, TECHTALK Tech-Talk <tech-talk@aps.anl.gov>
Date: Fri, 19 Mar 2010 08:56:33 -0700
Hi Mark,
I avoided the problem by reverting to asyn R4.9.  I will try putting epicsThreadSleep(5) in my st.cmd file.  I will let you know the result.

Thanks,
Zen

-----Original Message-----
From: Mark Rivers [mailto:rivers@cars.uchicago.edu] 
Sent: Friday, March 19, 2010 6:49 AM
To: Szalata, Zenon M.; TECHTALK Tech-Talk
Subject: RE: asyn R4.12 and streamdevice R2.4

Hi Zen,

Have you resolved this problem?  I would like to try to resolve it
before we release asyn 4-13.  This looks different from the  problem
that Benjamin Franksen just tracked down and posted the patch for.  But
I think he is now successfully using streamDevice R2.4 and asyn R4-12,
which you are having problems with, right?

Does it help to put an epicsThreadSleep(5) after the call to
vxi11Configure and before the call to iocInit?

Mark


-----Original Message-----
From: Mark Rivers 
Sent: Thursday, February 25, 2010 4:18 PM
To: 'Szalata, Zenon M.'; TECHTALK Tech-Talk
Subject: RE: asyn R4.12 and streamdevice R2.4

I don't have any vxi11 hardware to test.

Hopefully Eric Norum has an idea.

Mark


-----Original Message-----
From: Szalata, Zenon M. [mailto:zms@slac.stanford.edu] 
Sent: Thursday, February 25, 2010 3:53 PM
To: Mark Rivers; TECHTALK Tech-Talk
Subject: RE: asyn R4.12 and streamdevice R2.4

Hi Mark,
Yes, it specific to Vxi11...

Thanks,
Zen

-----Original Message-----
From: Mark Rivers [mailto:rivers@cars.uchicago.edu] 
Sent: Thursday, February 25, 2010 1:52 PM
To: Szalata, Zenon M.; TECHTALK Tech-Talk
Subject: RE: asyn R4.12 and streamdevice R2.4

I'm using streamDevice 2-4 with asyn 4-12 on 3.14.10.  I think it is
also working on 3.14.11, but I can't say for sure that I have tested it.

Is this problem specific to vxi11 with streamDevice?  I am only using
streamDevice with TCP and serial.

Mark


-----Original Message-----
From: tech-talk-bounces@aps.anl.gov
[mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Szalata, Zenon M.
Sent: Thursday, February 25, 2010 3:41 PM
To: TECHTALK Tech-Talk
Subject: asyn R4.12 and streamdevice R2.4

I am trying to build a simple IOC with EPICS R3.14.11, asyn R4.12, and
streamdevice R2.4.  IOC builds without errors, but fails to run.  
I also tried EPICS R3.14.9, asyn R4.12, and streamdevice R2.4 with the
same results.
However, when I build the IOC with EPICS R3.14.9, asyn R4.9, and
streamdevice R2.4 the IOC works well.
It appears that streamdevice R2.4 does not work with asyn R4.12.  I have
another IOC which works well with EPICS R3.14.11 and asyn R4.12.  It
does not use streamdevice.

Here are the errors I get:

epicsEnvSet( EPICS_CA_MAX_ARRAY_BYTES,100000)
epicsEnvSet( ETHER, "134.79.64.25")
cd
/afs/slac.stanford.edu/g/testfac/esb/epics/rhel4/R3.14.9/iocTop/tds/prod
dbLoadDatabase("dbd/tds.dbd",0,0)
tds_registerRecordDeviceDriver(pdbbase)
#TDS3000Reboot $(ETHER)
#epicsThreadSleep(60)
vxi11Configure( "L0","134.79.64.25",0,0.0,"gpib0",0,0)
dbLoadRecords( "db/tds.db","P=ESA:TDS:,L=0,A=9,NAME=TDS,PORT=L0")
cd
/afs/slac.stanford.edu/g/testfac/esb/epics/rhel4/R3.14.9/iocTop/tds/prod
/iocBoot/sioc-esa-tk01
iocInit()
Starting iocInit
########################################################################
####
## EPICS R3.14.9-ilc3 $R3-14-9$ $2007/02/05 16:31:45$
## EPICS Base built Nov 11 2009
########################################################################
####
2010/02/25 13:12:51.149 _main_ ESA:TDS:W_CH1_OFF lockRequest:
pasynManager->queueRequest() failed: port L0 not connected

2010/02/25 13:12:51.149 _main_ ESA:TDS:W_CH1_OFF: Can't start init run
2010/02/25 13:12:51.149 _main_ ESA:TDS:W_CH1_OFF: Record initialization
failed
Bad init_rec return value  PV: ESA:TDS:W_CH1_OFF ao: init_record
2010/02/25 13:12:51.150 _main_ ESA:TDS:W_CH1_POS lockRequest:
pasynManager->queueRequest() failed: port L0 not connected

2010/02/25 13:12:51.150 _main_ ESA:TDS:W_CH1_POS: Can't start init run
2010/02/25 13:12:51.150 _main_ ESA:TDS:W_CH1_POS: Record initialization
failed
Bad init_rec return value  PV: ESA:TDS:W_CH1_POS ao: init_record
2010/02/25 13:12:51.150 _main_ ESA:TDS:W_CH2_OFF lockRequest:
pasynManager->queueRequest() failed: port L0 not connected

2010/02/25 13:12:51.150 _main_ ESA:TDS:W_CH2_OFF: Can't start init run
2010/02/25 13:12:51.150 _main_ ESA:TDS:W_CH2_OFF: Record initialization
failed
Bad init_rec return value  PV: ESA:TDS:W_CH2_OFF ao: init_record
2010/02/25 13:12:51.150 _main_ ESA:TDS:W_CH2_POS lockRequest:
pasynManager->queueRequest() failed: port L0 not connected

...

Thanks in advance,
Zen




References:
RE: asyn R4.12 and streamdevice R2.4 Szalata, Zenon M.
RE: asyn R4.12 and streamdevice R2.4 Mark Rivers
RE: asyn R4.12 and streamdevice R2.4 Mark Rivers

Navigate by Date:
Prev: support for SRS 725 frequency reference? Davidsaver, Michael
Next: Re: A Qt widget toolkit for EPICS, KWT 1.0 released. Hinko Kocevar
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: RE: asyn R4.12 and streamdevice R2.4 Mark Rivers
Next: Re: aSubRecord Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·