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  <20082009  2010  2011  2012  2013  2014  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  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: erro when writing to the GPIB device on softIOC
From: zhangdemin99 <[email protected]>
To: [email protected]
Date: Mon, 14 Jan 2008 16:29:36 +0800 (CST)
 
Dera all,
 I am trying to communicate with the GPIB device on the softIOC with GPIB bus.
When I write to the device:
epics> dbpf PSM6003:PSM6003Record:current-step 0.5
DBR_STRING:          0.5
it appears erro information after a few seconds:
epics> 2008/01/14 10:51:45.364 L0 addr 0 : device timed out.
2008/01/14 10:51:45.365 PSM6003:PSM6003Record:current-step write status "L0 writeGpib failed EABO 6: Operation aborted
" requested 19 but sent 5211728 bytes
2008/01/14 10:51:45.365 PSM6003:PSM6003Record:current-step error.
2008/01/14 10:52:15.362 L0 addr 0 : device timed out.
2008/01/14 10:52:15.362 PSM6003:PSM6003Record:current-step respond2Writes read failed
Why it says device timed out. I am sure the device and the PCI-GPIB card are
connected well. "requested 19 but sent 5211728 bytes", should I clean the buffer, how to?
The command array I set are:
 {&DSET_SO,GPIBWRITE,IB_Q_LOW,NULL,":CURRent:STEP %S",50,50,NULL,0,0,NULL,NULL,NULL},
   
    {&DSET_SI,GPIBREAD,IB_Q_LOW,":CURRent:STEP?","%39[^\r\n]",0,50,NULL,0,0,NULL,NULL,NULL}
many thanks in advance
 
 



网 易 有 道 词 典 -- 全 球 最 强 大 的 免 费 英 汉 互 译 词 典 ( 只 有 2 兆 )
Replies:
Re: erro when writing to the GPIB device on softIOC Emmanuel Mayssat

Navigate by Date:
Prev: Re: VXI11 GPIB and asynRecord Eric Williams
Next: 2008 EPICS meeting website SQLiu
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: libgpib: IBOPENDEV ioctl failed Emmanuel Mayssat
Next: Re: erro when writing to the GPIB device on softIOC Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
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 ·